2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

fhemweb.js: protect against double-loading this file (Forum #66503)

git-svn-id: https://svn.fhem.de/fhem/trunk@13377 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-02-10 18:49:23 +00:00
parent f155884f8f
commit df84427560

View File

@ -62,6 +62,8 @@ FW_replaceWidgets(parent)
function
FW_jqueryReadyFn()
{
if(FW_docReady) // loading fhemweb.js twice is hard to debug
return;
log(version);
FW_docReady = true;
FW_serverGenerated = $("body").attr("generated");