You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2014/01/31 21:14:48 UTC

svn commit: r1563244 - in /ofbiz/branches/release11.04: ./ framework/common/webcommon/includes/htmlTemplate.ftl

Author: jleroux
Date: Fri Jan 31 20:14:47 2014
New Revision: 1563244

URL: http://svn.apache.org/r1563244
Log:
"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-5519

A 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/release11.04/   (props changed)
    ofbiz/branches/release11.04/framework/common/webcommon/includes/htmlTemplate.ftl

Propchange: ofbiz/branches/release11.04/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1563238

Modified: ofbiz/branches/release11.04/framework/common/webcommon/includes/htmlTemplate.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release11.04/framework/common/webcommon/includes/htmlTemplate.ftl?rev=1563244&r1=1563243&r2=1563244&view=diff
==============================================================================
--- ofbiz/branches/release11.04/framework/common/webcommon/includes/htmlTemplate.ftl (original)
+++ ofbiz/branches/release11.04/framework/common/webcommon/includes/htmlTemplate.ftl Fri Jan 31 20:14:47 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 className alert name value size maxlength id event action readonly autocomplete descriptionFieldName formName fieldFormName targetParameterIter imgSrc ajaxUrl ajaxEnabled presentation width height position fadeBackground clearText showDescription initiallyCollapsed/>
 </#macro>