Lines 27-47
$(document).ready(function() {
Link Here
|
27 |
<!-- TMPL_IF NAME="picture" --> |
27 |
<!-- TMPL_IF NAME="picture" --> |
28 |
// new YAHOO.widget.Button("delpicture"); // FIXME: formatting mismatch between YUI and normal button |
28 |
// new YAHOO.widget.Button("delpicture"); // FIXME: formatting mismatch between YUI and normal button |
29 |
$('#delpicture').click(function(){ |
29 |
$('#delpicture').click(function(){ |
30 |
return confirm('Are you sure you want to delete this patron image? This cannot be undone.'); |
30 |
return confirm(_('Are you sure you want to delete this patron image? This cannot be undone.')); |
31 |
}); |
31 |
}); |
32 |
$('#manage-patron-image').find("input[@value*=Upload]").click(function(){ |
32 |
$('#manage-patron-image').find("input[value*=Upload]").click(function(){ |
33 |
if($("#uploadfile").val() == ""){ |
33 |
if($("#uploadfile").val() == ""){ |
34 |
alert("Please choose a file to upload"); |
34 |
alert(_("Please choose a file to upload")); |
35 |
return false; |
35 |
return false; |
36 |
} |
36 |
} |
37 |
return confirm('Are you sure you want to replace the current patron image? This cannot be undone.'); |
37 |
return confirm(_('Are you sure you want to replace the current patron image? This cannot be undone.')); |
38 |
});<!-- /TMPL_IF --> |
38 |
});<!-- /TMPL_IF --> |
39 |
$("#renew_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[@name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[@name*=barcodes]"); }); |
39 |
$("#renew_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); }); |
40 |
$("#return_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[@name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[@name*=items]" ); }); |
40 |
$("#return_all" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[name*=items]" ); }); |
41 |
$("#CheckAllitems" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[@name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[@name*=barcodes]"); return false; }); |
41 |
$("#CheckAllitems" ).click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=items]" ); $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; }); |
42 |
$("#CheckNoitems" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[@name*=items]"); return false; }); |
42 |
$("#CheckNoitems" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; }); |
43 |
$("#CheckAllreturns").click(function(){ $(".checkboxed").checkCheckboxes(":input[@name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[@name*=items]"); return false; }); |
43 |
$("#CheckAllreturns").click(function(){ $(".checkboxed").checkCheckboxes(":input[name*=barcodes]"); $(".checkboxed").unCheckCheckboxes(":input[name*=items]"); return false; }); |
44 |
$("#CheckNoreturns" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[@name*=barcodes]"); return false; }); |
44 |
$("#CheckNoreturns" ).click(function(){ $(".checkboxed").unCheckCheckboxes(":input[name*=barcodes]"); return false; }); |
45 |
|
45 |
|
46 |
<!-- TMPL_IF NAME="CAN_user_circulate_override_renewals" --> |
46 |
<!-- TMPL_IF NAME="CAN_user_circulate_override_renewals" --> |
47 |
<!-- TMPL_IF NAME="AllowRenewalLimitOverride" --> |
47 |
<!-- TMPL_IF NAME="AllowRenewalLimitOverride" --> |