diff options
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); |