[Rt-commit] rt branch, 4.0/sanity-check-add-principal, updated. rt-3.9.7-1167-g6e93fd3

Thomas Sibley trs at bestpractical.com
Wed Jan 5 09:51:19 EST 2011


The branch, 4.0/sanity-check-add-principal has been updated
       via  6e93fd3ad6461865837a37f9a4df0412ad3ca2a8 (commit)
      from  3cd6946bb89bfe062557751339cddb9540631335 (commit)

Summary of changes:
 share/html/Helpers/Autocomplete/CustomFieldValues |    1 +
 share/html/Helpers/Autocomplete/Owners            |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 6e93fd3ad6461865837a37f9a4df0412ad3ca2a8
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Wed Jan 5 09:50:47 2011 -0500

    Send Content-type: application/json for the other autocomplete helpers
    
    Fixes #16375

diff --git a/share/html/Helpers/Autocomplete/CustomFieldValues b/share/html/Helpers/Autocomplete/CustomFieldValues
index a35520d..90e04bd 100644
--- a/share/html/Helpers/Autocomplete/CustomFieldValues
+++ b/share/html/Helpers/Autocomplete/CustomFieldValues
@@ -45,6 +45,7 @@
 %# those contributions and any derivatives thereof.
 %#
 %# END BPS TAGGED BLOCK }}}
+% $r->content_type('application/json');
 <% JSON::to_json( \@suggestions ) |n %>
 % $m->abort;
 <%INIT>
diff --git a/share/html/Helpers/Autocomplete/Owners b/share/html/Helpers/Autocomplete/Owners
index 2c345ab..1b65ef8 100644
--- a/share/html/Helpers/Autocomplete/Owners
+++ b/share/html/Helpers/Autocomplete/Owners
@@ -45,6 +45,7 @@
 %# those contributions and any derivatives thereof.
 %#
 %# END BPS TAGGED BLOCK }}}
+% $r->content_type('application/json');
 <% JSON::to_json( \@suggestions ) |n %>
 % $m->abort;
 <%ARGS>

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


More information about the Rt-commit mailing list