[Rt-commit] rt branch, master, updated. rt-4.2.12-360-gb055f73

Shawn Moore shawn at bestpractical.com
Thu Oct 29 14:56:42 EDT 2015


The branch, master has been updated
       via  b055f73f54b840f29620ff94444ff77a00a32f84 (commit)
       via  693eede4045c22a2cefa311c1bce75529a3fcfc3 (commit)
      from  e8e6841353b37e80aa803f1f60addf0b3d309b10 (commit)

Summary of changes:
 share/html/Search/Elements/EditFormat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 693eede4045c22a2cefa311c1bce75529a3fcfc3
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Oct 30 01:14:33 2015 +0800

    fix WebPath for BuildFormatString helper url
    
    Fixes: I#31319

diff --git a/share/html/Search/Elements/EditFormat b/share/html/Search/Elements/EditFormat
index 3863f39..2d6f3c0 100644
--- a/share/html/Search/Elements/EditFormat
+++ b/share/html/Search/Elements/EditFormat
@@ -61,7 +61,7 @@ jQuery( function() {
         var name = jQuery(this).attr('name');
         var form = jQuery(this).closest('form');
         jQuery.ajax({
-            url: '/Helpers/BuildFormatString?' + name + '=1&' + form.serialize(),
+            url: '<% RT->Config->Get('WebPath') %>/Helpers/BuildFormatString?' + name + '=1&' + form.serialize(),
             success: function (data) {
                 if ( data.status == 'success' ) {
                     form.find('input[name=Format]').val(data.Format);

commit b055f73f54b840f29620ff94444ff77a00a32f84
Merge: e8e6841 693eede
Author: Shawn M Moore <shawn at bestpractical.com>
Date:   Thu Oct 29 14:55:16 2015 -0400

    Merge branch '4.4/build-format-helper-webpath-fix'


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


More information about the rt-commit mailing list