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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt (-3 / +2 lines)
Lines 51-57 Link Here
51
            var filename = $(this).val();
51
            var filename = $(this).val();
52
            if ( ! /(?:\.csv|\.ods|\.xml)$/.test(filename)) {
52
            if ( ! /(?:\.csv|\.ods|\.xml)$/.test(filename)) {
53
                $(this).css("background-color","yellow");
53
                $(this).css("background-color","yellow");
54
                alert(_("Please select an ods or xml file"));
54
                alert(_("Please select a CSV (.csv), ODS (.ods) or XML (.xml) spreadsheet file."));
55
                $(this).val("");
55
                $(this).val("");
56
                $(this).css("background-color","white");
56
                $(this).css("background-color","white");
57
            }
57
            }
Lines 80-86 Link Here
80
                    return false;
80
                    return false;
81
            }
81
            }
82
            obj.css("background-color","yellow");
82
            obj.css("background-color","yellow");
83
            alert(_("Please select an spreadsheet (csv, ods, xml) file"));
83
            alert(_("Please select a CSV (.csv), ODS (.ods) or XML (.xml) spreadsheet file."));
84
            obj.val("");
84
            obj.val("");
85
            obj.css("background-color","white");
85
            obj.css("background-color","white");
86
            return false;
86
            return false;
87
- 

Return to bug 15665