2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 03:44:52 +00:00

fhemweb.js: suppress notification error with confirmJsError=0 (Forum #129332)

git-svn-id: https://svn.fhem.de/fhem/trunk@26589 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-10-26 12:56:33 +00:00
parent 01caebedad
commit 8fa1917b92

View File

@ -1220,7 +1220,8 @@ FW_doUpdate(evt)
try {
eval(d[1]);
} catch(e) {
FW_okDialog("#FHEMWEB notification:<br>"+d[1]+"<br>"+e);
if($("body").attr("data-confirmJSError") != 0)
FW_okDialog("#FHEMWEB notification:<br>"+d[1]+"<br>"+e);
}
} else {