2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-28 08:54:51 +00:00

fhemweb.js: add onError function (Forum )

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 398f1bdd80
commit 6d27f3670e

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