2
0
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:
rudolfkoenig 2015-11-20 22:02:59 +00:00
parent 10202f2dc6
commit 74446e9eaa

View File

@ -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( '<', '&lt;' );
FW_okDialog('<pre>'+data+'</pre>', el); FW_okDialog('<pre>'+data+'</pre>', el);
}); });
}); });