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 77eb4449e5
commit 74b972f650

View File

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