Author: ashish
Date: Sat Jan 16 13:47:30 2016
New Revision: 1724975

URL: http://svn.apache.org/viewvc?rev=1724975&view=rev
Log:
Applied patch from jira issue - OFBIZ-6735. Tooltip Calendar field (date or 
date-time) should not stop when using tab key. Thanks Jacques for creating the 
issue and thanks Jagpreet for the patch contribution.

Modified:
    ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl

Modified: ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl?rev=1724975&r1=1724974&r2=1724975&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl Sat Jan 16 
13:47:30 2016
@@ -116,8 +116,7 @@ under the License.
         <#if maxlength?has_content>  maxlength="${maxlength}"</#if>
         <#if id?has_content> id="${id}_i18n"</#if>/><#rt/>
     </#if>
-    <#-- the style attribute is a little bit messy but when using disply:none 
the timepicker is shown on a wrong place -->
-    <input type="text" <#if tabindex?has_content> tabindex="${tabindex}"</#if> 
name="${name}" 
style="height:1px;width:1px;border:none;background-color:transparent" <#if 
event?has_content && action?has_content> ${event}="${action}"</#if> 
<@renderClass className alert /><#rt/>
+    <input type="hidden" <#if tabindex?has_content> 
tabindex="${tabindex}"</#if> name="${name}" <#if event?has_content && 
action?has_content> ${event}="${action}"</#if> <@renderClass className alert 
/><#rt/>
       <#if title?has_content> title="${title}"</#if>
       <#if value?has_content> value="${value}"</#if>
       <#if size?has_content> size="${size}"</#if><#rt/>


Reply via email to