BUGFIX SSF-53 make adding existing member works by enabling the add button correctly

This commit is contained in:
Normann Lou 2012-03-01 15:17:49 +13:00
parent 50119d271a
commit e086875565

View File

@ -28,7 +28,7 @@ jQuery(function($){
$(this).closest(".ss-gridfield").find("#action_gridfield_relationfind").replaceWith(
'<input type="hidden" name="relationID" value="'+ui.item.id+'" id="relationID"/>'
);
$(this).closest(".ss-gridfield").find("#action_gridfield_relationadd").removeAttr('disabled');
$(this).closest(".ss-gridfield").find("#action_gridfield_relationadd").button('enable');
}
});
});