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 |
- |
|
|