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 eafcd78646
commit 1abbcbcaea

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 {