Lines 129-142
$(function() {
Link Here
|
129 |
var alertString2; |
129 |
var alertString2; |
130 |
|
130 |
|
131 |
if(f.addshelf.value.length ==0){ |
131 |
if(f.addshelf.value.length ==0){ |
132 |
_alertString += _("- You must enter a List Name\n"); |
132 |
_alertString += _("- You must enter a List Name") + "\n"; |
133 |
} |
133 |
} |
134 |
|
134 |
|
135 |
if (_alertString.length==0) { |
135 |
if (_alertString.length==0) { |
136 |
document.Aform.submit(); |
136 |
document.Aform.submit(); |
137 |
} else { |
137 |
} else { |
138 |
alertString2 = _("Form not submitted because of the following problem(s)\n"); |
138 |
alertString2 = _("Form not submitted because of the following problem(s)"); |
139 |
alertString2 += "------------------------------------------------------------------------------------\n\n"; |
139 |
alertString2 += "\n------------------------------------------------------------------------------------\n\n"; |
140 |
alertString2 += _alertString; |
140 |
alertString2 += _alertString; |
141 |
alert(alertString2); |
141 |
alert(alertString2); |
142 |
} |
142 |
} |