Bug 9289 - Adjacent checkbox behavior broken on circulation.pl

This patch fixes the behavior of adjacent checkboxes in the list of
checkouts on circulation.pl. Checkboxes in both the "renew" and "check
in" columns should not be able to be checked at the same time.

A line was commented out (by me) which was necessary to this working
correctly. I'm guessing it was done in debugging and left by mistake.

To test, load a patron for checkout who has items checked out. You
should not be able to check boxes in both the "renew" and "check in"
columns in the same row, whether you click the checkbox itself or the
containing table cell.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
Owen Leonard 2012-12-14 12:45:04 -05:00 committed by Chris Cormack
parent 0f13072533
commit 19e18105f3
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ var allcheckboxes = $(".checkboxed");
$(this).removeAttr("checked");
} else {
$(this).attr("checked","checked");
// radioCheckBox($(this));
radioCheckBox($(this));
}
});
}