Bug 9016: (follow-up) standardize case of message transport type columns
[koha.git] / koha-tmpl / intranet-tmpl / lib / jquery / plugins / jquery.checkboxes.min.js
1 /*
2  *
3  * Copyright (c) 2006-2008 Sam Collett (http://www.texotela.co.uk)
4  * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
5  * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
6  * 
7  * Version 2.1
8  * Demo: http://www.texotela.co.uk/code/jquery/checkboxes/
9  *
10  * $LastChangedDate$
11  * $Rev$
12  */
13 ;(function(d){d.fn.toggleCheckboxes=function(a,b){a=a||"*";b=b||false;var c=d([]);this.each(function(){var e=d("input[type=checkbox]",this).filter(a).each(function(){this.checked=!this.checked}).filter(":checked");c=e});if(!b){c=this}return c};d.fn.checkCheckboxes=function(a,b){a=a||"*";b=b||false;var c=d([]);this.each(function(){var e=d("input[type=checkbox]",this).filter(a).each(function(){this.checked=true}).filter(":checked");c=e});if(!b){c=this}return c};d.fn.unCheckCheckboxes=function(a,b){a=a||"*";b=b||false;var c=d([]);this.each(function(){var e=d("input[type=checkbox]",this).filter(a).each(function(){this.checked=false}).filter(":not(:checked)");c=e});if(!b){c=this}return c};d.radioCheckboxGroup=function(e,a){a=a||"*";var b="input[type=checkbox]";if(e){b+="[name="+e+"]"}var c=d(b).filter(a);c.click(function(){c.not(this).each(function(){this.checked=false}).end()})}})(jQuery);