diff --git a/javascript/CMSMain.EditForm.js b/javascript/CMSMain.EditForm.js index e2f805e8..b3220152 100644 --- a/javascript/CMSMain.EditForm.js +++ b/javascript/CMSMain.EditForm.js @@ -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