[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/includes doc-head-close.inc,1.1.2.2,1.1.2.3
Owen Leonard
oleonard at users.sourceforge.net
Wed Apr 27 21:54:12 CEST 2005
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16384/koha-tmpl/intranet-tmpl/npl/en/includes
Modified Files:
Tag: rel_2_2
doc-head-close.inc
Log Message:
Adding 'checkall' function for columns of checkboxes
Index: doc-head-close.inc
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/includes/doc-head-close.inc,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** doc-head-close.inc 4 Feb 2005 19:00:33 -0000 1.1.2.2
--- doc-head-close.inc 27 Apr 2005 19:54:10 -0000 1.1.2.3
***************
*** 37,40 ****
--- 37,51 ----
newwin.close();
}
+
+ function CheckAll() {
+ count = document.mainform.elements.length;
+ for (i=0; i < count; i++) {
+ if(document.mainform.elements[i].checked == 1){
+ document.mainform.elements[i].checked = 0;
+ } else {
+ document.mainform.elements[i].checked = 1;
+ }
+ }
+ }
// end hiding -->
More information about the Koha-cvs
mailing list