projects
/
kivitendo-erp.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
CSS: Unix-style newlines für kivitendo DHTML-Menü
[kivitendo-erp.git]
/
js
/
jquery.checkall.js
1
/*
2
* jQuery SelectAll plugin 1.1
3
*
4
* Copyright (c) 2009 Sven Schöling
5
*/
6
7
;(function($) {
8
9
$.fn.extend({
10
checkall: function(target, property, inverted) {
11
if (property == null)
12
property = 'checked';
13
return $(this).click(function() {
14
$(target).prop(property, inverted ? !$(this).prop('checked') : $(this).prop('checked'));
15
});
16
}
17
});
18
19
})(jQuery);