codding standards
This commit is contained in:
@@ -7,6 +7,7 @@ $Source$
|
|||||||
|
|
||||||
2001-01-03 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
2001-01-03 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* db_details.php3: invalid xhtml statements.
|
* db_details.php3: invalid xhtml statements.
|
||||||
|
* libraries/functions.js: codding standards.
|
||||||
|
|
||||||
2002-01-02 Marc Delisle <lem9@users.sourceforge.net>
|
2002-01-02 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* db_details.php3, libraries/functions.js: feature 474742: add check
|
* db_details.php3, libraries/functions.js: feature 474742: add check
|
||||||
|
@@ -326,6 +326,7 @@ function setPointer(theRow, thePointerColor)
|
|||||||
return true;
|
return true;
|
||||||
} // end of the 'setPointer()' function
|
} // end of the 'setPointer()' function
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks/unchecks all tables
|
* Checks/unchecks all tables
|
||||||
*
|
*
|
||||||
@@ -334,13 +335,15 @@ function setPointer(theRow, thePointerColor)
|
|||||||
*
|
*
|
||||||
* @return boolean always true
|
* @return boolean always true
|
||||||
*/
|
*/
|
||||||
function setCheckboxes(the_form, do_check) {
|
function setCheckboxes(the_form, do_check)
|
||||||
var elts = document.forms[the_form].elements['selected_tbl[]'];
|
{
|
||||||
|
var elts = document.forms[the_form].elements['selected_tbl[]'];
|
||||||
var elts_cnt = elts.length;
|
var elts_cnt = elts.length;
|
||||||
|
|
||||||
for (var i = 0; i < elts_cnt; i++) {
|
for (var i = 0; i < elts_cnt; i++) {
|
||||||
elts[i].checked = do_check;
|
elts[i].checked = do_check;
|
||||||
} // end for
|
} // end for
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
} // end of the 'setCheckboxes()' function
|
} // end of the 'setCheckboxes()' function
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user