mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-28 08:54:51 +00:00
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:
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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user