mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
Fix attribute filling with "
git-svn-id: https://svn.fhem.de/fhem/trunk@2805 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ffb155971f
commit
f47c72cf0e
@ -308,10 +308,9 @@ FW_queryValue(cmd, qFn, qArg)
|
||||
qConn.onreadystatechange = function() {
|
||||
if(qConn.readyState != 3)
|
||||
return;
|
||||
qFn = qFn.replace("%", qConn.responseText)
|
||||
.replace(/[\r\n]/g, "");
|
||||
eval(qFn);
|
||||
delete qFn;
|
||||
var qResp = qConn.responseText.replace(/[\r\n]/g, "")
|
||||
.replace(/"/g, "\\\"");
|
||||
eval(qFn.replace("%", qResp));
|
||||
delete qConn;
|
||||
}
|
||||
qConn.open("GET", document.location.pathname+"?cmd="+cmd+"&XHR=1", true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user