mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
fhemweb.js: fix get return with device names (Forum #44360)
git-svn-id: https://svn.fhem.de/fhem/trunk@9945 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
10202f2dc6
commit
74446e9eaa
@ -128,7 +128,6 @@ FW_jqueryReadyFn()
|
|||||||
});
|
});
|
||||||
FW_cmd(FW_root+"?"+cmd+"&XHR=1&addLinks=1", function(data) {
|
FW_cmd(FW_root+"?"+cmd+"&XHR=1&addLinks=1", function(data) {
|
||||||
if(!data.match(/^[\r\n]*$/)) // ignore empty answers
|
if(!data.match(/^[\r\n]*$/)) // ignore empty answers
|
||||||
data = data.replace( '<', '<' );
|
|
||||||
FW_okDialog('<pre>'+data+'</pre>', el);
|
FW_okDialog('<pre>'+data+'</pre>', el);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user