Commit 81dac8d8 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Missing semicolon in js submit function

parent c6d75bf5
......@@ -701,7 +701,7 @@ class Form {
$result .= "var d = sendXMLHttpRequest(req,queryString(data));\n";
$result .= 'd.addCallback(function (result) {';
$result .= 'var data = evalJSONRequest(result);';
$result .= "var errtype = 'global'\n";
$result .= "var errtype = 'global';\n";
$result .= "if (!data.error) { errtype = 'info'; }\n";
$result .= "if (data.error == 'local') { errtype = 'error'; }\n";
$result .= "if (errtype == 'global') { global_error_handler(data); }\n";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment