Author: deepak
Date: Sat Jan 12 06:53:35 2019
New Revision: 1851144
URL:
http://svn.apache.org/viewvc?rev=1851144&view=revLog:
Applied fix from trunk for revision: 1851140
===
Fixed:List Request page seems distorted of ecommerce component
(OFBIZ-10621)
Thanks Garima jain for reporting the issue.
Set the col class based on right/left screen inclusion
Modified:
ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/widget/CommonScreens.xml
Modified: ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/widget/CommonScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/widget/CommonScreens.xml?rev=1851144&r1=1851143&r2=1851144&view=diff==============================================================================
--- ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/widget/CommonScreens.xml (original)
+++ ofbiz/ofbiz-plugins/branches/release17.12/ecommerce/widget/CommonScreens.xml Sat Jan 12 06:53:35 2019
@@ -49,6 +49,11 @@ under the License.
<field-map field-name="webSiteId"/>
</entity-and>
<set field="layoutSettings.javaScripts[]" value="/common/js/util/miscAjaxFunctions.js" global="true" />
+ <set field="bodyStyle" value="${groovy:
+ if(sections?.get("left-column") && sections?.get("right-column")) "col-lg-6"
+ else if (sections?.get("left-column") || sections?.get("right-column")) "col-lg-9"
+ else "col-lg-12"
+ }"/>
</actions>
<widgets>
<section>
@@ -74,7 +79,7 @@ under the License.
</container>
</widgets>
</section>
- <container id="div3" style="col-lg-6 order-lg-2 order-1">
+ <container id="div3" style="${bodyStyle} order-lg-2 order-1">
<!-- render messages -->
<platform-specific><html><html-template location="component://common-theme/template/includes/Messages.ftl"/></html></platform-specific>
<decorator-section-include name="body"/>