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>
This commit is contained in:
Owen Leonard 2012-12-14 12:45:04 -05:00 committed by Jared Camins-Esakov
parent 7535f2bfa3
commit 8857d4d728

View file

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