mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
fhemweb.js: do not crash if FHEMWEB is old (Forum #129979)
git-svn-id: https://svn.fhem.de/fhem/trunk@26630 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
edf67be958
commit
36221537c3
@ -870,7 +870,8 @@ FW_inlineModify() // Do not generate a new HTML page upon pressing modify
|
||||
}
|
||||
});
|
||||
|
||||
if(!$("body").attr("data-hiddenroom").match(/\binput\b/)) {
|
||||
var hr = $("body").attr("data-hiddenroom");
|
||||
if(!hr || !hr.match(/\binput\b/)) {
|
||||
$("table.internals div.dname").each(function(){
|
||||
if($(this).text() == "NAME") {
|
||||
var dev = $(this).attr("data-name");
|
||||
|
Loading…
Reference in New Issue
Block a user