mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
BUGFIX: #6853 Removed bottom border of the parent div wrapped around settings' options-sets when radio-buttons with a value of 'OnlyTheseUsers' is selected.
This commit is contained in:
parent
fd3e5381a9
commit
e5d038f7f0
@ -189,7 +189,15 @@
|
||||
else if(this.attr('id') == 'CanCreateTopLevelType') dropdown = $('#CreateTopLevelGroups');
|
||||
|
||||
this.find('.optionset :input').bind('change', function(e) {
|
||||
dropdown[e.target.value == 'OnlyTheseUsers' ? 'show' : 'hide']();
|
||||
var wrapper = $(this).closest('.middleColumn').parent('div');
|
||||
if(e.target.value == 'OnlyTheseUsers') {
|
||||
wrapper.addClass('remove-splitter');
|
||||
dropdown['show']();
|
||||
}
|
||||
else {
|
||||
wrapper.removeClass('remove-splitter');
|
||||
dropdown['hide']();
|
||||
}
|
||||
});
|
||||
|
||||
// initial state
|
||||
|
Loading…
x
Reference in New Issue
Block a user