2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

fhemweb.js: remove unneeded csrf from the longpoll connection

git-svn-id: https://svn.fhem.de/fhem/trunk@13349 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-02-06 22:12:36 +00:00
parent dbcf17b663
commit 952f4a9042

View File

@ -889,7 +889,6 @@ FW_longpoll()
"&inform=type=status;filter="+filter+";since="+since+";fmt=JSON"+
'&fw_id='+$("body").attr('fw_id')+
"&timestamp="+new Date().getTime();
query = addcsrf(query);
var loc = (""+location).replace(/\?.*/,"");
if(typeof WebSocket == "function" && FW_longpollType == "websocket") {
@ -908,8 +907,8 @@ FW_longpoll()
}
log("Inform-channel opened ("+(FW_longpollType == 1 ? "HTTP":FW_longpollType )
+") with filter "+filter);
log("Inform-channel opened ("+(FW_longpollType==1 ? "HTTP":FW_longpollType)+
") with filter "+filter);
}
/*************** LONGPOLL END **************/