mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
fhemweb.js: fix delete dialog bug for featurelevel 5.8 (Forum #55905)
git-svn-id: https://svn.fhem.de/fhem/trunk@11926 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d8a135ee96
commit
390e38285e
@ -227,7 +227,7 @@ FW_confirmDelete()
|
||||
var href = $(this).attr("href");
|
||||
if(!href)
|
||||
return;
|
||||
var ma = $(this).attr("href").match(/.*cmd[^=]*=(delete[^&]*)&.*$/);
|
||||
var ma = $(this).attr("href").match(/.*cmd[^=]*=(delete[^&]*).*$/);
|
||||
if(!ma || ma.length != 2)
|
||||
return;
|
||||
$(this).attr("href", "#");
|
||||
|
Loading…
x
Reference in New Issue
Block a user