- if (selected.length == 0) {
- alert(_("Please select at least one item to export."));
- return false;
- }
-
- // Building the url from currently checked boxes
- var url = '/cgi-bin/koha/serials/lateissues-export.pl?supplierid=&op=claims';
- for (var i = 0; i < selected.length; i++) {
- url += '&serialid=' + selected[i].value;
- }
+ if (selected.length == 0) {
+ alert(_("Please select at least one item to export."));
+ return false;
+ }
+
+ // Building the url from currently checked boxes
+ var url = '/cgi-bin/koha/serials/lateissues-export.pl?supplierid=&op=claims';
+ for (var i = 0; i < selected.length; i++) {
+ url += '&serialid=' + selected[i].value;
+ }