mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-20 19:36:02 +00:00
fhemweb.js: avoid referencing comma-room in treeMenu (Forum #84532)
git-svn-id: https://svn.fhem.de/fhem/trunk@16237 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d146ad4d0f
commit
f72a5085e3
@ -834,7 +834,7 @@ FW_treeMenu()
|
|||||||
$("div#menu table.room").each(function(){ // one loop per Block
|
$("div#menu table.room").each(function(){ // one loop per Block
|
||||||
var t = this, ma = {};
|
var t = this, ma = {};
|
||||||
$(t).find("td > div > a > span").each(function(e){
|
$(t).find("td > div > a > span").each(function(e){
|
||||||
var span = this, spanTxt = $(span).text();
|
var span = this, spanTxt = $(span).text().replace(/,/g,'');
|
||||||
var ta = spanTxt.split("->");
|
var ta = spanTxt.split("->");
|
||||||
if(ta.length <= 1)
|
if(ta.length <= 1)
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user