[ofbiz-framework] branch trunk updated: Improved: Do not limit form width if asm_formSize is not defined (OFBIZ-12102)

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

[ofbiz-framework] branch trunk updated: Improved: Do not limit form width if asm_formSize is not defined (OFBIZ-12102)

James Yong-2
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/trunk by this push:
     new f561c41  Improved: Do not limit form width if asm_formSize is not defined (OFBIZ-12102)
f561c41 is described below

commit f561c41ea0fe3e3363128f89a9a2eaf0448fd538
Author: James Yong <[hidden email]>
AuthorDate: Sat Dec 26 13:14:07 2020 +0800

    Improved: Do not limit form width if asm_formSize is not defined (OFBIZ-12102)
   
    Changed at SetMultipleSelectJsList.ftl.
    Tested page at /ordermgr/control/FindRequest
---
 .../common-theme/template/includes/SetMultipleSelectJsList.ftl   | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/themes/common-theme/template/includes/SetMultipleSelectJsList.ftl b/themes/common-theme/template/includes/SetMultipleSelectJsList.ftl
index a201476..4731f89 100644
--- a/themes/common-theme/template/includes/SetMultipleSelectJsList.ftl
+++ b/themes/common-theme/template/includes/SetMultipleSelectJsList.ftl
@@ -61,14 +61,13 @@ under the License.
     </#if>
   </#list>
   <style type="text/css">
+      <#if asm_multipleSelectForm?? && asm_formSize??>
       #${asm_multipleSelectForm}
       {
-          width: ${asm_formSize!700}px
-      ;
-          position: relative
-      ;
+          width: ${asm_formSize!700}px;
+          position: relative;
       }
-
+      </#if>
       .asmListItem {
           width: ${asm_asmListItemPercentOfForm!95}%;
       }