diff options
Diffstat (limited to 'install/ui/association.js')
-rw-r--r-- | install/ui/association.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/install/ui/association.js b/install/ui/association.js index ab43518f6..6a1978061 100644 --- a/install/ui/association.js +++ b/install/ui/association.js @@ -201,7 +201,11 @@ IPA.association_adder_dialog = function(spec) { var relationship = relationships[other_attribute_member]; if (relationship) { var param_name = relationship[2] + that.entity.name; - options[param_name] = that.pkey; + var cmd_opt = IPA.get_command_option(that.other_entity.name + '_find', + param_name); + if (cmd_opt) { + options[param_name] = that.pkey; + } } IPA.command({ |