mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-06 06:08:44 +00:00
fhemweb.js: more defensive code (Forum #138962)
git-svn-id: https://svn.fhem.de/fhem/trunk@29073 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8082f8ab0f
commit
725f19536a
@ -456,7 +456,8 @@ FW_filterIcons()
|
||||
function
|
||||
FW_delete(cmd, fCmd)
|
||||
{
|
||||
if($("body").attr("data-hiddenroom").match(/\binput\b/))
|
||||
var hr = $("body").attr("data-hiddenroom"); // #138962
|
||||
if(hr && hr.match(/\binput\b/))
|
||||
return FW_okDialog("Disabled");
|
||||
|
||||
if(!fCmd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user