* Adjust code .
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
.sorter-group {display: flex; flex-wrap: wrap;}
|
||||
.sorter-group > .group-item {flex: 0 0 25%; overflow: hidden;}
|
||||
.checkbox-primary > input {width: 20px;}
|
||||
.permission-row label.active {background: #e6f0ff;}
|
||||
|
||||
/* tree */
|
||||
.tree ul > li {display: inline-block; width: 50%;}
|
||||
|
||||
@@ -101,6 +101,11 @@ $(function()
|
||||
e.stopPropagation();
|
||||
if($(e.target).prop('tagName') == 'LABEL')
|
||||
{
|
||||
if($('.permission-row label.bg-primary-pale').length)
|
||||
{
|
||||
$('.permission-row label.bg-primary-pale').removeClass('bg-primary-pale');
|
||||
}
|
||||
$(e.target).addClass('bg-primary-pale');
|
||||
var selectedID = $(this).siblings('input:checkbox').data('id');
|
||||
$.get(createLink('group', 'ajaxGetPrivRelations', "privID=" + selectedID), function(data)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user