diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2014-03-13 17:34:42 +0100 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-03-20 08:57:43 +0100 |
commit | ffab72cc79d31c59d49d40b4f66852e767821fa6 (patch) | |
tree | 777504733025df82654edee091320f6982cf7086 /install/ui/src/freeipa/facet.js | |
parent | fddb2212bc3394068ba0cd6aebbfcf2e77cb6def (diff) | |
download | freeipa-ffab72cc79d31c59d49d40b4f66852e767821fa6.tar.gz freeipa-ffab72cc79d31c59d49d40b4f66852e767821fa6.tar.xz freeipa-ffab72cc79d31c59d49d40b4f66852e767821fa6.zip |
webui: do not use dom for getting selected automount keys
Old implementation crawled DOM for gathering data from DOM. Such code
is very error prone. Little visual change somewhere else can break it
- as happened in main patch for #4217.
prerequisite for:
https://fedorahosted.org/freeipa/ticket/4217
Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
Diffstat (limited to 'install/ui/src/freeipa/facet.js')
-rw-r--r-- | install/ui/src/freeipa/facet.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/install/ui/src/freeipa/facet.js b/install/ui/src/freeipa/facet.js index 6afc79d61..4d1787145 100644 --- a/install/ui/src/freeipa/facet.js +++ b/install/ui/src/freeipa/facet.js @@ -1827,6 +1827,7 @@ exp.table_facet = IPA.table_facet = function(spec, no_init) { */ that.load_records = function(records) { that.table.empty(); + that.table.records = records; for (var i=0; i<records.length; i++) { that.add_record(records[i]); } |