Fix for Bug 5156, JavaScript error when adding list

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 9bb36148fd)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
Owen Leonard 2011-04-06 11:27:11 +02:00 committed by Chris Nighswonger
parent 3714355486
commit 033284b1a1
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ function placeHold () {
}
if (_alertString.length==0) {
document.f.submit();
f.submit();
} else {
alertString2 = _("Form not submitted because of the following problem(s)");
alertString2 += "\n------------------------------------------------------------------------------------\n\n";

View File

@ -125,7 +125,7 @@ $(function() {
}
if (_alertString.length==0) {
document.f.submit();
f.submit();
} else {
alertString2 = _("Form not submitted because of the following problem(s)");
alertString2 += "\n------------------------------------------------------------------------------------\n\n";