svn commit: r1821390 - /ofbiz/ofbiz-framework/trunk/themes/common/template/includes/SetMultipleSelectJsList.ftl

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

svn commit: r1821390 - /ofbiz/ofbiz-framework/trunk/themes/common/template/includes/SetMultipleSelectJsList.ftl

jleroux@apache.org
Author: jleroux
Date: Wed Jan 17 15:51:58 2018
New Revision: 1821390

URL: http://svn.apache.org/viewvc?rev=1821390&view=rev
Log:
Fixed: Replace Asm select plugin with Select2.
(OFBIZ-10113)

Completes r1821268(same possible userLogin missing in SetMultipleSelectJsList.ftl

Thanks Aditya

Modified:
    ofbiz/ofbiz-framework/trunk/themes/common/template/includes/SetMultipleSelectJsList.ftl

Modified: ofbiz/ofbiz-framework/trunk/themes/common/template/includes/SetMultipleSelectJsList.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/themes/common/template/includes/SetMultipleSelectJsList.ftl?rev=1821390&r1=1821389&r2=1821390&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/themes/common/template/includes/SetMultipleSelectJsList.ftl (original)
+++ ofbiz/ofbiz-framework/trunk/themes/common/template/includes/SetMultipleSelectJsList.ftl Wed Jan 17 15:51:58 2018
@@ -31,7 +31,7 @@ under the License.
               multiple.select2({
                 tags: true,
                 multiple: true,
-                lang: '${userLogin.lastLocale!"en"}'
+                lang: <#if userLogin??>'${userLogin.lastLocale!"en"}'<#else>"en"</#if>
               });
 
               <#if row.asm_relatedField??> <#-- can be used without related field -->