View | Details | Raw Unified | Return to bug 10457
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt (-4 / +2 lines)
Lines 33-41 Link Here
33
33
34
	    // Generates a dynamic link for exporting the selection's data as CSV
34
	    // Generates a dynamic link for exporting the selection's data as CSV
35
	    $("#ExportSelected").click(function() {
35
	    $("#ExportSelected").click(function() {
36
		// We use input:checked because it's faster, but if there must new checkboxes  
36
		// We need to use "input[name=serialid]:checked" instead of "input:checked". Otherwise, the "check all" box will pass the value of "on" as a serialid, which produces a SQL error.
37
		// used for other purpose on this page, please use [name=serialid]:checked instead
37
		var selected = $("input[name=serialid]:checked");
38
		var selected = $("input:checked");
39
38
40
		if (selected.length == 0) {
39
		if (selected.length == 0) {
41
			alert(_("Please select at least one item to export."));
40
			alert(_("Please select at least one item to export."));
42
- 

Return to bug 10457