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:
parent
3714355486
commit
033284b1a1
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue