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.gitThe following commit(s) were added to refs/heads/trunk by this push:
new 451f42a Improved: Do not limit form width if asm_formSize is not defined (OFBIZ-12102)
451f42a is described below
commit 451f42a21c498330dd48aa807eb875bad1877a3c
Author: James Yong <
[hidden email]>
AuthorDate: Sat Dec 26 17:08:22 2020 +0800
Improved: Do not limit form width if asm_formSize is not defined (OFBIZ-12102)
Extend the same behavior to SetMultipleSelectJs.ftl.
---
themes/common-theme/template/includes/SetMultipleSelectJs.ftl | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/themes/common-theme/template/includes/SetMultipleSelectJs.ftl b/themes/common-theme/template/includes/SetMultipleSelectJs.ftl
index 4d72567..8f089ce 100644
--- a/themes/common-theme/template/includes/SetMultipleSelectJs.ftl
+++ b/themes/common-theme/template/includes/SetMultipleSelectJs.ftl
@@ -58,14 +58,13 @@ jQuery(document).ready(function () {
</script>
<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}%;
}