[gatein-issues] [JBoss JIRA] Assigned: (GTNPORTAL-1940) calender doesnt disappear if tab is used for navigation

kien nguyen (JIRA) jira-events at lists.jboss.org
Mon Jun 27 00:44:23 EDT 2011


     [ https://issues.jboss.org/browse/GTNPORTAL-1940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

kien nguyen reassigned GTNPORTAL-1940:
--------------------------------------

    Assignee: kien nguyen


> calender doesnt disappear if tab is used for navigation
> -------------------------------------------------------
>
>                 Key: GTNPORTAL-1940
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-1940
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Gary Hu
>            Assignee: kien nguyen
>              Labels: portal-s55
>         Attachments: tab_error.JPG
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> We have a calendar field in the dialog template. Whenever that field has focus, a calendar is shown to select the date.
> But when the user moves out of calendar field using tab key from keyboard to another field, the calendar is still displayed. Th user has to explicitly CLICK to remove the Calendar from display.
> Please see the attached screen shot.
> The cause is that there is no javascript onblur event defined on the date/time field:
> http://anonsvn.jboss.org/repos/gatein/epp/portal/branches/EPP_5_1_Branch/webui/core/src/main/java/org/exoplatform/webui/form/UIFormDateTimeInput.java
> The following fix should help to address this issue:
> Index: core/src/main/java/org/exoplatform/webui/form/UIFormDateTimeInput.java
> ===================================================================
> --- core/src/main/java/org/exoplatform/webui/form/UIFormDateTimeInput.java	(revision 6667)
> +++ core/src/main/java/org/exoplatform/webui/form/UIFormDateTimeInput.java	(working copy)
> @@ -234,6 +234,6 @@
>           w.write(value_.toString());
>           w.write('\'');
>        }
> -      w.write(" onclick='event.cancelBubble = true'/>");
> +      w.write(" onclick='event.cancelBubble = true' onblur='eXo.webui.UICalendar.hide();'/>");
>     }
>  }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list