[Freeipa-devel] [PATCH] one liner to re-enable enroll buttons for associations

Adam Young ayoung at redhat.com
Wed Jan 12 04:22:43 UTC 2011


pushed under the one line rule

commit 380fed3bb1c08e1d02c442007fdfc64ca56078ca
Author: Adam Young <ayoung at redhat.com>
Date:   Tue Jan 11 23:04:38 2011 -0500

     enroll button

     This was removed in several places where it should still be visible

diff --git a/install/static/associate.js b/install/static/associate.js
index 12b5fab..6173dda 100644
--- a/install/static/associate.js
+++ b/install/static/associate.js
@@ -721,7 +721,7 @@ function ipa_association_facet(spec) {
          }).appendTo(li);

          /* TODO: genering handling of different relationships */
-        if (relationship[0] == 'Member') {
+        if ((relationship[0] == 'Member')||(relationship[0] == 'Member 
Of')) {
              $('<input/>', {
                  'type': 'button',
                  'name': 'add',




More information about the Freeipa-devel mailing list