a small link click bug fixed

This commit is contained in:
Harry Bomrah 2014-08-06 18:37:02 +08:00
parent 56e18cd040
commit a52239b135
1 changed files with 4 additions and 0 deletions

View File

@ -103,10 +103,14 @@ $(document).ready(function() {
$("#select_all_modal").on("click",function(){
$(current_role).find(".check-item").addClass("active");
$(current_role).find(".check-item input[type=checkbox]").prop("checked","checked");
$(".dropup").removeClass("open");
return false;
})
$("#deselect_all_modal").on("click",function(){
$(current_role).find(".check-item").removeClass("active");
$(current_role).find(".check-item input[type=checkbox]").removeAttr("checked");
$(".dropup").removeClass("open");
return false;
})
},
});