Commit 288d1fd8 authored by Aurel's avatar Aurel

On error, do not use alert otherwise it makes the browser unusable

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38227 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f60c1d4d
...@@ -96,8 +96,11 @@ ...@@ -96,8 +96,11 @@
logLine += currentLogValue[i] + \'<br/>\\n\';\n logLine += currentLogValue[i] + \'<br/>\\n\';\n
}\n }\n
logDiv.innerHTML=logLine;\n logDiv.innerHTML=logLine;\n
} else\n } else {\n
alert("Error! Request status is " + request.status);\n logDiv = document.getElementById("log");\n
logLine = "Error! Request status is " + request.status;\n
logDiv.innerHTML=logLine;\n
}\n
}\n }\n
}\n }\n
</script>\n </script>\n
......
Markdown is supported
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