TPac: repair IE check-all action on transaction list
authorBill Erickson <berick@esilibrary.com>
Thu, 22 Sep 2011 20:55:50 +0000 (16:55 -0400)
committerBill Erickson <berick@esilibrary.com>
Thu, 22 Sep 2011 20:55:50 +0000 (16:55 -0400)
IE does not respond to 'onchange' for checkboxes?  Use onclick
instead...

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/templates/opac/myopac/main.tt2

index d32f0a5..158e597 100644 (file)
@@ -23,7 +23,7 @@
                     <td>[% l("Balance Owed") %]</td>
                     <td nowrap="nowrap" style="white-space:nowrap;">
                         <input id="pay_fines_box1" checked="checked"
-                            type="checkbox" onchange="select_all_checkboxes('xact', this.checked)"
+                            type="checkbox" onclick="select_all_checkboxes('xact', this.checked)"
                             title="[% l('Click to (un)select all fines') %]" />
                         <label for="pay_fines_box1">[% l('Pay Fines') %]</label>
                     </td>
                     <td width='4%' align="center" nowrap="nowrap"
                         style="white-space:nowrap;">
                         <input id="pay_fines_box2" checked="checked"
-                            type="checkbox" onchange="select_all_checkboxes('xact_misc', this.checked)"
+                            type="checkbox" onclick="select_all_checkboxes('xact_misc', this.checked)"
                             title="[% l('Click to (un)select all fines') %]" />
                         <label for="pay_fines_box2">[% l("Pay Fines") %]</label>
                     </td>