diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2011-12-15 13:40:29 +0100 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-12-15 19:59:57 +0000 |
commit | 187bedafd0e261661c6368b6df90eb9d31ef9ceb (patch) | |
tree | 959f57ae298f8a8c85ddf6407ee22f1974a4790d /install/ui/rule.js | |
parent | cb649f2de2f0399ca02adb14684109ef12a55d52 (diff) | |
download | freeipa.git-187bedafd0e261661c6368b6df90eb9d31ef9ceb.tar.gz freeipa.git-187bedafd0e261661c6368b6df90eb9d31ef9ceb.tar.xz freeipa.git-187bedafd0e261661c6368b6df90eb9d31ef9ceb.zip |
Fixed displaying of external records in rule association widgets
It's a fix for regression introduced by widget refactoring #2040.
https://fedorahosted.org/freeipa/ticket/2040
Diffstat (limited to 'install/ui/rule.js')
-rw-r--r-- | install/ui/rule.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/install/ui/rule.js b/install/ui/rule.js index 003785bc..d36cd3d3 100644 --- a/install/ui/rule.js +++ b/install/ui/rule.js @@ -134,10 +134,14 @@ IPA.rule_association_table_field = function(spec) { spec = spec || {}; - var that = IPA.field(spec); + var that = IPA.association_table_field(spec); + + that.external = spec.external; + that.load = function(result) { that.values = result[that.name] || []; + if (that.external) { var external_values = result[that.external] || []; $.merge(that.values, external_values); |