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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categorie.tt (-2 / +1 lines)
Lines 47-53 Link Here
47
	    var ok=0;
47
	    var ok=0;
48
		var _alertString=_("Form not submitted because of the following problem(s)");
48
		var _alertString=_("Form not submitted because of the following problem(s)");
49
		_alertString +="\n-------------------------------------------------------------------\n\n";
49
		_alertString +="\n-------------------------------------------------------------------\n\n";
50
                ff.categorycode.value = ff.categorycode.value.trim();
50
                ff.categorycode.value = $.trim(ff.categorycode.value);
51
                if (ff.categorycode.value.length==0) {
51
                if (ff.categorycode.value.length==0) {
52
                   ok=1;
52
                   ok=1;
53
                   _alertString += _("- categorycode missing") + "\n";
53
                   _alertString += _("- categorycode missing") + "\n";
54
- 

Return to bug 14265