mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX SSF-53 make adding existing member works by enabling the add button correctly
This commit is contained in:
parent
50119d271a
commit
e086875565
@ -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');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user