tie in select-all option in lists interfaces
[evergreen-equinox.git] / Open-ILS / web / templates / default / opac / parts / anon_list.tt2
index 8fb8258..19a7440 100644 (file)
             <table cellpadding='0' cellspacing='0' border='0'>
                 <thead id="acct_list_header_anon">
                     <tr>
-                        <td width="1%" style="padding-left:10px;"><input type="checkbox"/>
+                        <td width="1%" style="padding-left:10px;">
+                            <input type="checkbox" onclick="
+                                var inputs=document.getElementsByTagName('input'); 
+                                for (i = 0; i < inputs.length; i++) { 
+                                    if (inputs[i].name == 'record' && !inputs[i].disabled) inputs[i].checked = this.checked;}"/>
                         </td>
                         <td width="49%" style="padding-left:5px;">[% l('Title') %]</td>
                         <td width="49%" style="padding-left:5px;">[% l('Author(s)') %]</td>