Fixed host managed-by adder dialog.

The host managed-by adder dialog has been fixed to use the new
--not-man-hosts option to filter out hosts that are already added.

Ticket #1675
This commit is contained in:
Endi Sukma Dewata 2011-12-09 15:01:06 -06:00 committed by Endi S. Dewata
parent 191f05e477
commit 6bd2f5ba35

View File

@ -207,6 +207,8 @@ IPA.association_adder_dialog = function(spec) {
other_attribute_member = 'memberof';
else if (that.attribute_member == 'memberof')
other_attribute_member = 'member';
else if (that.attribute_member == 'managedby')
other_attribute_member = 'managing';
var relationship = relationships[other_attribute_member];
if (relationship) {