From d7159a61ea528fb22edde3a39c169f41f98f362b Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 10 Feb 2017 18:49:23 +0000 Subject: [PATCH] fhemweb.js: protect against double-loading this file (Forum #66503) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13377 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- www/pgm2/fhemweb.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/pgm2/fhemweb.js b/www/pgm2/fhemweb.js index 5df4244b2..40d71437a 100644 --- a/www/pgm2/fhemweb.js +++ b/www/pgm2/fhemweb.js @@ -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");