fhemweb.js: add onError function (Forum #64276)

git-svn-id: https://svn.fhem.de/fhem/trunk@13022 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2017-01-09 11:02:50 +00:00
parent b999bf5277
commit 1b47e06b4f

View File

@@ -32,6 +32,12 @@ window.onbeforeunload = function(e)
return undefined;
}
window.onerror = function(errMsg, url, lineno)
{
FW_okDialog(lineno+": "+errMsg);
}
function
FW_replaceWidgets(parent)
{