Fix approval setting ajax problem

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-04-26 16:13:21 +08:00
1 parent 8785418ec1
commit bd9451f923
8 files changed
+56 -78

No files matched your search

@@ -1,4 +1,7 @@
$(document).ready(function() {
permissionCheckbox();
});
function permissionCheckbox(){
$('.check[checked="checked"]').parents(".checkbox").addClass("checked")
$(".checkbox").click(function(){
if($(this).children(".check").attr("checked")){
@@ -16,4 +19,4 @@ $(document).ready(function() {
placement: 'bottom',
delay: { show: 100, hide: 300 },
});
});
};