|
Lines 164-170
$(document).ready(function() {
Link Here
|
| 164 |
} |
164 |
} |
| 165 |
}); |
165 |
}); |
| 166 |
$("#bookbag_form").ready(function(){ |
166 |
$("#bookbag_form").ready(function(){ |
| 167 |
$("#bookbag_form").unCheckCheckboxes(); |
167 |
$("#bookbag_form input:checkbox").prop("checked", false); |
| 168 |
var bibnums = getContextBiblioNumbers(); |
168 |
var bibnums = getContextBiblioNumbers(); |
| 169 |
if (bibnums) { |
169 |
if (bibnums) { |
| 170 |
for (var i=0; i < bibnums.length; i++) { |
170 |
for (var i=0; i < bibnums.length; i++) { |
|
Lines 211-228
function highlightOn() {
Link Here
|
| 211 |
|
211 |
|
| 212 |
|
212 |
|
| 213 |
function selectAll () { |
213 |
function selectAll () { |
| 214 |
$("#bookbag_form").checkCheckboxes(); |
|
|
| 215 |
$("#bookbag_form").find("input[type='checkbox'][name='biblionumber']").each(function(){ |
214 |
$("#bookbag_form").find("input[type='checkbox'][name='biblionumber']").each(function(){ |
| 216 |
$(this).change(); |
215 |
$(this).prop("checked", true ).change(); |
| 217 |
} ); |
216 |
} ); |
| 218 |
return false; |
|
|
| 219 |
} |
217 |
} |
| 220 |
function clearAll () { |
218 |
function clearAll () { |
| 221 |
$("#bookbag_form").unCheckCheckboxes(); |
|
|
| 222 |
$("#bookbag_form").find("input[type='checkbox'][name='biblionumber']").each(function(){ |
219 |
$("#bookbag_form").find("input[type='checkbox'][name='biblionumber']").each(function(){ |
| 223 |
$(this).change(); |
220 |
$(this).prop("checked", false).change(); |
| 224 |
} ); |
221 |
} ); |
| 225 |
return false; |
|
|
| 226 |
} |
222 |
} |
| 227 |
function placeHold () { |
223 |
function placeHold () { |
| 228 |
var checkedItems = $(".selection:checked"); |
224 |
var checkedItems = $(".selection:checked"); |
| 229 |
- |
|
|