mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-12 16:46:35 +00:00
fhemweb.js: escape readings with dot in the name (Forum #68142)
git-svn-id: https://svn.fhem.de/fhem/trunk@13549 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
6a51ae390e
commit
6be9dfa2ea
@ -609,8 +609,8 @@ FW_inlineModify() // Do not generate a new HTML page upon pressing modify
|
||||
cmd = $(div).attr("cmd");
|
||||
var sel = $(this).closest("form").find("select");
|
||||
var arg = $(sel).val();
|
||||
var ifid = devName.replace(/\./g, '\\.');
|
||||
if($(".dval[informid="+ifid+"-"+arg+"]").length == 0) {
|
||||
var ifid = (devName+"-"+arg).replace(/\./g, '\\.');
|
||||
if($(".dval[informid="+ifid+"]").length == 0) {
|
||||
console.log(this);
|
||||
$(this).unbind('click').click();// No element found to replace, reload
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user