diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-05-16 22:23:20 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-05-20 12:11:47 -0400 |
commit | 46137fdf898690836ae61e54b1cb2711492287f3 (patch) | |
tree | b64b936fca3f738bdd19862113d8005b72e4eb82 /install/ui/dns.js | |
parent | 00abd47de4d3238295cbe5dc30210b913c0f07a1 (diff) | |
download | freeipa-46137fdf898690836ae61e54b1cb2711492287f3.tar.gz freeipa-46137fdf898690836ae61e54b1cb2711492287f3.tar.xz freeipa-46137fdf898690836ae61e54b1cb2711492287f3.zip |
jQuery ordered map.
The ordered map is a jQuery extension for creating a collection which can
be accessed both as an ordered list and as a map. This collection can be
used to store various objects including entities, fields, columns, and
dialogs. A test suite for this class has been added as well.
Ticket #1232
Diffstat (limited to 'install/ui/dns.js')
-rw-r--r-- | install/ui/dns.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/dns.js b/install/ui/dns.js index e62459afb..b6e6b23d8 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -117,8 +117,9 @@ IPA.records_facet = function(spec) { entity_name: that.entity_name }); - for (var i=0; i<that.columns.length; i++) { - var column = that.columns[i]; + var columns = that.columns.values; + for (var i=0; i<columns.length; i++) { + var column = columns[i]; that.table.add_column(column); } |