mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 05:06:35 +00:00
fhemweb.js: adapt for FLOORPLAN changes. (Forum #34144)
git-svn-id: https://svn.fhem.de/fhem/trunk@8082 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c3c8ca7e38
commit
114285f54a
@ -419,7 +419,7 @@ FW_longpoll()
|
|||||||
FW_leaving = 0;
|
FW_leaving = 0;
|
||||||
|
|
||||||
// Build the notify filter for the backend
|
// Build the notify filter for the backend
|
||||||
var filter = document.body.getAttribute("longpollfilter");
|
var filter = $("body").attr("longpollfilter");
|
||||||
if(filter == null)
|
if(filter == null)
|
||||||
filter = "";
|
filter = "";
|
||||||
if(filter == "") {
|
if(filter == "") {
|
||||||
@ -439,10 +439,8 @@ FW_longpoll()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(filter == "" && document.getElementById("floorplan")) { //floorplan special
|
if($("#floorplan").length>0) //floorplan special
|
||||||
var name = document.body.getAttribute("id");
|
filter += ";iconPath="+$("body").attr("name");
|
||||||
filter=".*;iconPath="+name.substring(0,name.length-5);
|
|
||||||
}
|
|
||||||
|
|
||||||
if(filter == "") {
|
if(filter == "") {
|
||||||
var content = document.getElementById("content");
|
var content = document.getElementById("content");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user