From 2ed9d73472af8b47561a7339707345e8a9df41b1 Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Mon, 27 Feb 2012 16:20:13 +0000 Subject: [PATCH] Changed order of some calls on request of UliM git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1298 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/webfrontend/pgm2/01_FHEMWEB.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fhem/webfrontend/pgm2/01_FHEMWEB.pm b/fhem/webfrontend/pgm2/01_FHEMWEB.pm index 3e579effe..83d77d051 100755 --- a/fhem/webfrontend/pgm2/01_FHEMWEB.pm +++ b/fhem/webfrontend/pgm2/01_FHEMWEB.pm @@ -387,6 +387,9 @@ FW_AnswerCall($) } + $FW_plotmode = AttrVal($FW_wname, "plotmode", "SVG"); + $FW_plotsize = AttrVal($FW_wname, "plotsize", $FW_ss ? "480,160" : + $FW_tp ? "640,160" : "800,160"); ############################## # Axels FHEMWEB modules... $arg = $1; @@ -410,9 +413,6 @@ FW_AnswerCall($) $cmd !~ /^style / && $cmd !~ /^edit/); - $FW_plotmode = AttrVal($FW_wname, "plotmode", "SVG"); - $FW_plotsize = AttrVal($FW_wname, "plotsize", $FW_ss ? "480,160" : - $FW_tp ? "640,160" : "800,160"); $FW_reldoc = "$FW_ME/commandref.html"; $FW_cmdret = $docmd ? FW_fC($cmd) : "";