You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2020/04/05 12:07:02 UTC

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

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 <ul...@ecomify.de>
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>