[ofbiz-framework] branch release18.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 release18.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 release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


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

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

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

diff --git a/themes/common-theme/template/includes/AjaxAutocompleteOptions.ftl b/themes/common-theme/template/includes/AjaxAutocompleteOptions.ftl
index 377e256..b1b297e 100644
--- a/themes/common-theme/template/includes/AjaxAutocompleteOptions.ftl
+++ b/themes/common-theme/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>