Author: jleroux
Date: Fri Jan 31 20:12:49 2014
New Revision: 1563242
URL:
http://svn.apache.org/r1563242Log:
"Applied fix from trunk for revision: 1563238 "
------------------------------------------------------------------------
r1563238 | jleroux | 2014-01-31 21:06:42 +0100 (ven. 31 janv. 2014) | 8 lignes
Workaround for "Lookups (layered mode) and dropdown menus overlap" (in BizznessTime Theme)
https://issues.apache.org/jira/browse/OFBIZ-5519A good example is in order creation page, open the customer lookup and then try to close it.
I think we should not fiddle with the theme, there is a faster and easier solution: center all lookups in the screen by default. It will not fix but hide the issue for now. Anyway the awful dropdown menu behaviour must be fixed and i will open another Jira for that.
You may ask why I'm concerned with a theme which is no longer bundled in future releases? It's because some custom projects still use it...
------------------------------------------------------------------------
Modified:
ofbiz/branches/release13.07/ (props changed)
ofbiz/branches/release13.07/framework/common/webcommon/includes/htmlTemplate.ftl
Propchange: ofbiz/branches/release13.07/
------------------------------------------------------------------------------
Merged /ofbiz/trunk:r1563238
Modified: ofbiz/branches/release13.07/framework/common/webcommon/includes/htmlTemplate.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release13.07/framework/common/webcommon/includes/htmlTemplate.ftl?rev=1563242&r1=1563241&r2=1563242&view=diff==============================================================================
--- ofbiz/branches/release13.07/framework/common/webcommon/includes/htmlTemplate.ftl (original)
+++ ofbiz/branches/release13.07/framework/common/webcommon/includes/htmlTemplate.ftl Fri Jan 31 20:12:49 2014
@@ -45,7 +45,10 @@ under the License.
<#local readonly = true/>
<#else>
<#local readonly = false />
- </#if>
+ </#if>
+ <#if userPreferences.VISUAL_THEME == "BIZZNESS_TIME">
+ <#local position = "center" />
+ </#if>
<@renderLookupField name formName fieldFormName className alert value size maxlength id event action readonly autocomplete descriptionFieldName targetParameterIter imgSrc ajaxUrl ajaxEnabled presentation width height position fadeBackground clearText showDescription initiallyCollapsed/>
</#macro>