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:
Russell Michell 2012-03-09 13:14:17 +13:00
parent fd3e5381a9
commit e5d038f7f0

View File

@ -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