diff --git a/ChangeLog b/ChangeLog index f6bc7e7ea..f31ad176f 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ $Source$ 2001-01-03 Loïc Chapeaux * db_details.php3: invalid xhtml statements. + * libraries/functions.js: codding standards. 2002-01-02 Marc Delisle * db_details.php3, libraries/functions.js: feature 474742: add check diff --git a/libraries/functions.js b/libraries/functions.js index a5bfd2e3e..3318ba810 100644 --- a/libraries/functions.js +++ b/libraries/functions.js @@ -326,6 +326,7 @@ function setPointer(theRow, thePointerColor) return true; } // end of the 'setPointer()' function + /** * Checks/unchecks all tables * @@ -334,13 +335,15 @@ function setPointer(theRow, thePointerColor) * * @return boolean always true */ -function setCheckboxes(the_form, do_check) { - var elts = document.forms[the_form].elements['selected_tbl[]']; +function setCheckboxes(the_form, do_check) +{ + var elts = document.forms[the_form].elements['selected_tbl[]']; var elts_cnt = elts.length; for (var i = 0; i < elts_cnt; i++) { - elts[i].checked = do_check; + elts[i].checked = do_check; } // end for return true; } // end of the 'setCheckboxes()' function +