2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 17:26:34 +00:00

FHEMWEB: missing feedback for save since longpoll change confuses user: fix it.

git-svn-id: https://svn.fhem.de/fhem/trunk@4890 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-02-12 06:31:02 +00:00
parent 292226ecbc
commit c156cac8a2

View File

@ -131,7 +131,7 @@ FW_replaceLinks()
for(var i1=0; i1< elArr.length; i1++) {
var a = elArr[i1];
var ma = a.getAttribute("href").match(/^(.*\?)(cmd[^=]*=.*)$/);
if(ma == null || ma.length == 0 || ma[2].match(/=style/))
if(ma == null || ma.length == 0 || ma[2].match(/=(style|save)/))
continue;
a.removeAttribute("href");
a.setAttribute("onclick", "FW_cmd('"+ma[1]+"XHR=1&"+ma[2]+"')");