|
|
@ -117,12 +117,8 @@ $(document).ready(function () {
|
|
|
|
$("#permissionList li input").click(function() {
|
|
|
|
$("#permissionList li input").click(function() {
|
|
|
|
var parentInput = $(this).parents("ul:eq(1) > li").find('input:eq(0)');
|
|
|
|
var parentInput = $(this).parents("ul:eq(1) > li").find('input:eq(0)');
|
|
|
|
if(parentInput && parentInput.is(':checked')){
|
|
|
|
if(parentInput && parentInput.is(':checked')){
|
|
|
|
$(modalPopupContent).html($('#child-deselect-error-content').html());
|
|
|
|
parentInput.prop('checked', false);
|
|
|
|
showPopup();
|
|
|
|
return true;
|
|
|
|
$("a#child-deselect-error-link").click(function () {
|
|
|
|
|
|
|
|
hidePopup();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$('#permissionList').tree_view();
|
|
|
|
$('#permissionList').tree_view();
|
|
|
|