Commits

Anonymous committed 6dd5715

Javascript fixes

Comments (0)

Files changed (1)

views/items/index.php

                     t.parent().next().addClass('rbac-waiting rbac-waiting-left');
                 },
                 success: function() {
+                    t.attr('checked', t.attr('checked') === 'checked' ? false : true);
                     t.parent().next().removeClass('rbac-waiting rbac-waiting-left');
                 },
                 error: function(data) {
                     alert(data);
                 }
             });
+            
+            return false;
         });
 
         $(document).delegate('#auth-item-grid table td a.ajax-loading', 'click', function() {