[ofbiz-framework] branch release17.12 updated: Improved: Decodes AjaxAutocompleteOptions return value

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-framework] branch release17.12 updated: Improved: Decodes AjaxAutocompleteOptions return value

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch release17.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release17.12 by this push:
     new 5b50293  Improved: Decodes AjaxAutocompleteOptions return value
5b50293 is described below

commit 5b5029312a14d86d09e6d3c4cb5b6b14976f1853
Author: Ulrich Heidfeld <[hidden email]>
AuthorDate: Tue Mar 24 17:33:08 2020 +0100

    Improved: Decodes AjaxAutocompleteOptions return value
   
    (OFBIZ-11475)
---
 themes/common/template/includes/AjaxAutocompleteOptions.ftl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/common/template/includes/AjaxAutocompleteOptions.ftl b/themes/common/template/includes/AjaxAutocompleteOptions.ftl
index 7b130cc..be9aca2 100644
--- a/themes/common/template/includes/AjaxAutocompleteOptions.ftl
+++ b/themes/common/template/includes/AjaxAutocompleteOptions.ftl
@@ -54,7 +54,7 @@ under the License.
                 </#if>
                   "id": "${returnField}",
                   "label": "<#if (displayString?trim?has_content )>${displayString?trim}<#else>${returnField}</#if>",
-                  "value": "${returnField}"
+                  "value": "${StringUtil.wrapString(returnField)}"
               }<#if autocompleteOption_has_next>,</#if>
           </#list>
         <#else>