From 2f135a3075baabd57bb7697db8fac933db8e1afc Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Mon, 26 Oct 2015 17:36:34 +0000 Subject: [PATCH] 01_FHEMWEB.pm: modify the longpollSVG documentation (Forum #40176) git-svn-id: https://svn.fhem.de/fhem/trunk@9692 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/01_FHEMWEB.pm | 23 +++++++++++------------ fhem/fhem.pl | 4 ++-- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/fhem/FHEM/01_FHEMWEB.pm b/fhem/FHEM/01_FHEMWEB.pm index 34c623721..73639e220 100755 --- a/fhem/FHEM/01_FHEMWEB.pm +++ b/fhem/FHEM/01_FHEMWEB.pm @@ -3127,13 +3127,12 @@ FW_widgetOverride($$)
  • longpollSVG
    Reloads an SVG weblink, if an event should modify its content. Since an exact determination of the affected events is too complicated, we - need some help from the #FileLog definition in the .gplot file: the - filter used there (second parameter) must either contain only the - deviceName or have the form deviceName.event or deviceName.*. This is - always the case when using the Plot + need some help from the definition in the .gplot file: the filter used + there (second parameter if the source is FileLog) must either contain + only the deviceName or have the form deviceName.event or deviceName.*. + This is always the case when using the Plot editor. The SVG will be reloaded for any event triggered by - this deviceName. - Default is off. + this deviceName. Default is off.

  • @@ -3843,12 +3842,12 @@ FW_widgetOverride($$)
  • longpollSVG
    Lädt SVG Instanzen erneut, falls ein Ereignis dessen Inhalt - ändert. Funktioniert nur, falls der dazugehörige #FileLog - Definition in der .gplot Datei folgenden Form hat: deviceName.Event - bzw. deviceName.*. Wenn man den Plot - Editor benutzt, ist das übrigens immer der Fall. Die SVG Datei - wird bei jedem auslösenden Event dieses Gerätes neu - geladen. Standard ist aus. + ändert. Funktioniert nur, falls die dazugehörige Definition + der Quelle in der .gplot Datei folgenden Form hat: deviceName.Event + bzw. deviceName.*. Wenn man den Plot Editor + benutzt, ist das übrigens immer der Fall. Die SVG Datei wird bei + jedem auslösenden Event dieses Gerätes neu geladen. + Die Voreinstellung ist aus.

  • diff --git a/fhem/fhem.pl b/fhem/fhem.pl index 5a8363f98..05bff3871 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -2744,8 +2744,8 @@ RemoveInternalTimer($) ##################################### sub -stacktrace() { - +stacktrace() +{ my $i = 1; my $max_depth = 50;