select or unselect all the operation to set them paid or not

This commit is contained in:
Dany De Bontridder 2010-08-02 17:32:12 +00:00
parent 6e168e23c8
commit 1077cb95ac

View file

@ -586,7 +586,7 @@ function toggle_checkbox(form_id) {
* @param form_id id of the form
*/
function select_checkbox(form_id) {
var form=g(form_id);
var form=$(form_id);
for (var i=0;i<form.length;i++) {
var e=form.elements[i];
if ( e.type=='checkbox') {
@ -599,7 +599,7 @@ function select_checkbox(form_id) {
* @param form_id id of the form
*/
function unselect_checkbox(form_id) {
var form=g(form_id);
var form=$(form_id);
for (var i=0;i<form.length;i++) {
var e=form.elements[i];
if ( e.type=='checkbox') {