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

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4890 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2014-02-12 06:31:02 +00:00
parent 7b9f4ffc69
commit f60fe5aff8

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]+"')");