[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.6-26-gc355c7e

Emmanuel Lacour elacour at bestpractical.com
Fri Oct 23 11:43:23 EDT 2009


The branch, 3.8-trunk has been updated
       via  c355c7e57b4c79daacc3dde25f0490d6ba3bdad3 (commit)
      from  9f1f17b61421d643f477232149fab33fb456c2c0 (commit)

Summary of changes:
 share/html/Search/Chart.html                       |    2 +-
 share/html/Search/Elements/ResultViews             |    2 +-
 .../Elements/{SelectChartType => SelectChartStyle} |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename share/html/Search/Elements/{SelectChartType => SelectChartStyle} (99%)

- Log -----------------------------------------------------------------
commit c355c7e57b4c79daacc3dde25f0490d6ba3bdad3
Author: Emmanuel Lacour <elacour at easter-eggs.com>
Date:   Fri Oct 23 17:41:49 2009 +0200

    Fix unconsistent component name
    
        Component Search/Elements/SelectChartType were used to select (then save)
        ChartStyle, so rename it to SelectChartStyle

diff --git a/share/html/Search/Chart.html b/share/html/Search/Chart.html
index 70e54c0..1e8cc95 100644
--- a/share/html/Search/Chart.html
+++ b/share/html/Search/Chart.html
@@ -88,7 +88,7 @@ my @actions = $m->comp( '/Widgets/SavedSearch:process', args => \%ARGS, self =>
 <&| /Widgets/TitleBox, title => loc('Graph Properties')&>
 <form method="get" action="<%RT->Config->Get('WebPath')%>/Search/Chart.html">
 <input type="hidden" class="hidden" name="Query" value="<% $Query %>" />
-<&|/l, $m->scomp('Elements/SelectChartType', Name => 'ChartStyle', Default => $ChartStyle), $m->scomp('Elements/SelectGroupBy', Name => 'PrimaryGroupBy', Query => $Query, Default => $PrimaryGroupBy) 
+<&|/l, $m->scomp('Elements/SelectChartStyle', Name => 'ChartStyle', Default => $ChartStyle), $m->scomp('Elements/SelectGroupBy', Name => 'PrimaryGroupBy', Query => $Query, Default => $PrimaryGroupBy) 
 &>[_1] chart by [_2]</&><input type="submit" class="button" value="<%loc('Update Graph')%>" />
 </form>
 </&>
diff --git a/share/html/Search/Elements/ResultViews b/share/html/Search/Elements/ResultViews
index b438b56..784d50d 100644
--- a/share/html/Search/Elements/ResultViews
+++ b/share/html/Search/Elements/ResultViews
@@ -69,7 +69,7 @@ $ShortQueryString => undef
 % foreach my $key (keys(%hiddens)) {
 <input type="hidden" class="hidden" name="<%$key%>" value="<%defined($hiddens{$key})?$hiddens{$key}:''%>" />
 % }
-<&|/l, $m->scomp('SelectChartType', Name => 'ChartStyle'), $m->scomp('SelectGroupBy', Name => 'PrimaryGroupBy', Query => $Query) 
+<&|/l, $m->scomp('SelectChartStyle', Name => 'ChartStyle'), $m->scomp('SelectGroupBy', Name => 'PrimaryGroupBy', Query => $Query) 
 &>[_1] chart by [_2]</&><input type="submit" class="button" value="<%loc('Go')%>" />
 </form>
 <%init>
diff --git a/share/html/Search/Elements/SelectChartType b/share/html/Search/Elements/SelectChartStyle
similarity index 99%
rename from share/html/Search/Elements/SelectChartType
rename to share/html/Search/Elements/SelectChartStyle
index fcb7234..7158983 100644
--- a/share/html/Search/Elements/SelectChartType
+++ b/share/html/Search/Elements/SelectChartStyle
@@ -46,7 +46,7 @@
 %# 
 %# END BPS TAGGED BLOCK }}}
 <%args>
-$Name => 'ChartType'
+$Name => 'ChartStyle'
 $Default => 'bar'
 </%args>
 <select id="<%$Name%>" name="<%$Name%>">

-----------------------------------------------------------------------


More information about the Rt-commit mailing list