[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.5-303-g0ae31e2

Emmanuel Lacour elacour at bestpractical.com
Thu Oct 15 10:42:57 EDT 2009


The branch, 3.8-trunk has been updated
       via  0ae31e21e7e2743dade881de22e0917f7d3d64ed (commit)
       via  c213a434691610808a31702e13d4eb0d1e6f4dc6 (commit)
      from  e59e81974bfe584db371e166f0f59e5949bb40c2 (commit)

Summary of changes:
 share/html/Elements/EditCustomFieldAutocomplete |    4 ++--
 share/html/Search/Chart                         |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

- Log -----------------------------------------------------------------
commit c213a434691610808a31702e13d4eb0d1e6f4dc6
Author: Emmanuel Lacour <elacour at easter-eggs.com>
Date:   Wed Oct 14 14:48:20 2009 +0200

    Fix URL used for CF of type autocomplete.
    
    * a double quote was in the middle of the URL making the browser unable to
      retrieve values

diff --git a/share/html/Elements/EditCustomFieldAutocomplete b/share/html/Elements/EditCustomFieldAutocomplete
index 696490a..ba7907b 100644
--- a/share/html/Elements/EditCustomFieldAutocomplete
+++ b/share/html/Elements/EditCustomFieldAutocomplete
@@ -51,7 +51,7 @@
 new Ajax.Autocompleter(
     "<% $name %>-Values",
     "<% $name %>-Choices",
-    <% RT->Config->Get('WebPath')%>"/Helpers/Autocomplete/CustomFieldValues",
+    "<% RT->Config->Get('WebPath')%>/Helpers/Autocomplete/CustomFieldValues",
     { tokens: [ '\n' ] }
 );
 % } else {
@@ -60,7 +60,7 @@ new Ajax.Autocompleter(
 new Ajax.Autocompleter(
     "<% $name %>-Value",
     "<% $name %>-Choices",
-    <% RT->Config->Get('WebPath')%>"/Helpers/Autocomplete/CustomFieldValues",
+    "<% RT->Config->Get('WebPath')%>/Helpers/Autocomplete/CustomFieldValues",
     {}
 );
 % }

commit 0ae31e21e7e2743dade881de22e0917f7d3d64ed
Author: Emmanuel Lacour <elacour at easter-eggs.com>
Date:   Thu Oct 15 16:41:58 2009 +0200

    Fix "bareword" error on search charts when ChartFont isn't defined
    
    * add missing quotes around last font name

diff --git a/share/html/Search/Chart b/share/html/Search/Chart
index 59e9fc6..11e7f35 100644
--- a/share/html/Search/Chart
+++ b/share/html/Search/Chart
@@ -72,7 +72,7 @@ my ($count_name, $value_name) = $tix->SetupGroupings(
 
 my $chart = $chart_class->new( 600 => 400 );
 
-my $font = RT->Config->Get('ChartFont') || ['verdana', 'arial', gdMediumBoldFont];
+my $font = RT->Config->Get('ChartFont') || ['verdana', 'arial', 'gdMediumBoldFont'];
 $chart->set_title_font( $font, 12 ) if $chart->can('set_title_font');
 $chart->set_legend_font( $font, 12 ) if $chart->can('set_legend_font');
 $chart->set_x_label_font( $font, 10 ) if $chart->can('set_x_label_font');

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


More information about the Rt-commit mailing list