mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 16:05:19 +00:00
fhemweb.js: do not scroll to the top on complex room selection (Forum #131822)
git-svn-id: https://svn.fhem.de/fhem/trunk@27117 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7a00e0585f
commit
28bb1319fd
@ -1157,7 +1157,8 @@ FW_treeMenu()
|
|||||||
if(!ma[nxt]) {
|
if(!ma[nxt]) {
|
||||||
$(tr).before("<tr class='menuTree closed level"+i1+"' "+
|
$(tr).before("<tr class='menuTree closed level"+i1+"' "+
|
||||||
"data-mTree='"+lst+"' data-nxt='"+nxt+"'>"+
|
"data-mTree='"+lst+"' data-nxt='"+nxt+"'>"+
|
||||||
"<td><div><a href='#'>"+ta[i1]+"</a><div></div></div></td></tr>");
|
"<td><div><a href='#' onclick='return false;'>"+ta[i1]+
|
||||||
|
"</a><div></div></div></td></tr>");
|
||||||
}
|
}
|
||||||
ma[nxt] = true;
|
ma[nxt] = true;
|
||||||
lst = nxt;
|
lst = nxt;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user