|
From: <de...@de...> - 2012-09-14 22:17:11
|
Author: PeterThoeny Date: 2012-09-14 17:17:03 -0500 (Fri, 14 Sep 2012) New Revision: 23372 Trac url: http://develop.twiki.org/trac/changeset/23372 Modified: twiki/trunk/GaugePlugin/lib/TWiki/Plugins/GaugePlugin.pm Log: Item6933: Fix for generated img tag of tambar showing unsupported _RAW parameter Modified: twiki/trunk/GaugePlugin/lib/TWiki/Plugins/GaugePlugin.pm =================================================================== --- twiki/trunk/GaugePlugin/lib/TWiki/Plugins/GaugePlugin.pm 2012-09-14 09:30:43 UTC (rev 23371) +++ twiki/trunk/GaugePlugin/lib/TWiki/Plugins/GaugePlugin.pm 2012-09-14 22:17:03 UTC (rev 23372) @@ -1,7 +1,7 @@ # Plugin for TWiki Enterprise Collaboration Platform, http://TWiki.org/ # -# Copyright (C) 2002-2011 Peter Thoeny, peter[at]thoeny.org -# Copyright (C) 2008-2011 TWiki:TWiki/TWikiContributor +# Copyright (C) 2002-2012 Peter Thoeny, peter[at]thoeny.org +# Copyright (C) 2008-2012 TWiki:TWiki/TWikiContributor # # For licensing info read LICENSE file in the TWiki root. # This program is free software; you can redistribute it and/or @@ -33,7 +33,7 @@ # ========================= our $VERSION = '$Rev$'; -our $RELEASE = '2011-05-23'; +our $RELEASE = '2012-09-14'; my $installWeb; my $debug; @@ -406,6 +406,7 @@ my ($session, $params, $topic, $web) = @_; _init_defaults() if( !$pluginInitialized ); my $parameters = new TWiki::Attrs($params->{_RAW}, 1); + delete $parameters->{_RAW}; my $type = _get_parameter( 'type', 'word', $defaultType, $parameters ); return _makeSimpleGauge($topic, $web, $parameters) if($type eq "simple"); return _make_trend_gauge($topic, $web, $parameters) if($type eq "trend"); |