Zeile 15 | Zeile 15 |
---|
/* Create the Check All feature */ $('[name="allbox"]').each(function(key, value) {
|
/* Create the Check All feature */ $('[name="allbox"]').each(function(key, value) {
|
$(this).change(function() { var checkboxes = $(this).closest('form').find(':checkbox'); if($(this).is(':checked')) { checkboxes.prop('checked', true); } else { checkboxes.removeAttr('checked');
| var allbox = this; var checked = $(this).is(':checked'); var checkboxes = $(this).closest('form').find(':checkbox'); checkboxes.change(function() { if(checked && !$(this).prop('checked')) { checked = false; $(allbox).prop('checked', checked);
|
}
|
}
|
| }); $(this).change(function() { checked = $(this).is(':checked'); checkboxes.prop('checked', checked);
|
}); });
| }); });
|
Zeile 510 | Zeile 516 |
---|
get: function(name) { name = cookiePrefix + name;
|
get: function(name) { name = cookiePrefix + name;
|
return $.cookie(name);
| return Cookies.get(name);
|
},
set: function(name, value, expires)
| },
set: function(name, value, expires)
|
Zeile 531 | Zeile 537 |
---|
secure: cookieSecureFlag == true, };
|
secure: cookieSecureFlag == true, };
|
return $.cookie(name, value, options);
| return Cookies.set(name, value, options);
|
},
unset: function(name)
| },
unset: function(name)
|
Zeile 542 | Zeile 548 |
---|
path: cookiePath, domain: cookieDomain };
|
path: cookiePath, domain: cookieDomain };
|
return $.removeCookie(name, options);
| return Cookies.remove(name, options);
|
} };
| } };
|