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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes-upload.tt (-2 / +1 lines)
Lines 238-244 Link Here
238
        var fileType = evt.target.files[0].type || 'unknown';
238
        var fileType = evt.target.files[0].type || 'unknown';
239
        var fileSizeInK = Math.round(evt.target.files[0].size/1024);
239
        var fileSizeInK = Math.round(evt.target.files[0].size/1024);
240
240
241
        if (!fileType.match(/comma-separated-values|csv|excel/i)) {
241
        if (!fileType.match(/comma-separated-values|csv|excel|calc/i)) {
242
            alert(_("Uploads limited to csv. Incorrect filetype: %s").format(fileType));
242
            alert(_("Uploads limited to csv. Incorrect filetype: %s").format(fileType));
243
            parent.location='quotes-upload.pl';
243
            parent.location='quotes-upload.pl';
244
            return;
244
            return;
245
- 

Return to bug 16589