2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 10:46:53 +00:00

fhemweb.js: show version

git-svn-id: https://svn.fhem.de/fhem/trunk@12998 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-01-07 11:32:06 +00:00
parent bb0c44871c
commit f96752eded

View File

@ -1,6 +1,6 @@
"use strict"; "use strict";
// $Id$ var version="$Id: fhemweb.js 12993 2017-01-07 07:22:56Z rudolfkoenig";
var FW_serverGenerated; var FW_serverGenerated;
var FW_serverFirstMsg = (new Date()).getTime()/1000; var FW_serverFirstMsg = (new Date()).getTime()/1000;
@ -54,10 +54,11 @@ FW_replaceWidgets(parent)
function function
FW_jqueryReadyFn() FW_jqueryReadyFn()
{ {
log(version);
FW_docReady = true; FW_docReady = true;
FW_serverGenerated = $("body").attr("generated"); FW_serverGenerated = $("body").attr("generated");
FW_longpollType = $("body").attr("longpoll"); FW_longpollType = $("body").attr("longpoll");
if($("body").attr("longpoll") != "0") if(FW_longpollType != "0")
setTimeout("FW_longpoll()", 100); setTimeout("FW_longpoll()", 100);
$("a").each(function() { FW_replaceLink(this); }) $("a").each(function() { FW_replaceLink(this); })