From e08687556500f7c5f6ee1781ad7f11f588dd56ae Mon Sep 17 00:00:00 2001 From: Normann Lou Date: Thu, 1 Mar 2012 15:17:49 +1300 Subject: [PATCH] BUGFIX SSF-53 make adding existing member works by enabling the add button correctly --- javascript/GridFieldSearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/GridFieldSearch.js b/javascript/GridFieldSearch.js index ea2dbed37..8952ce60f 100644 --- a/javascript/GridFieldSearch.js +++ b/javascript/GridFieldSearch.js @@ -28,7 +28,7 @@ jQuery(function($){ $(this).closest(".ss-gridfield").find("#action_gridfield_relationfind").replaceWith( '' ); - $(this).closest(".ss-gridfield").find("#action_gridfield_relationadd").removeAttr('disabled'); + $(this).closest(".ss-gridfield").find("#action_gridfield_relationadd").button('enable'); } }); });