[
https://issues.jboss.org/browse/GTNPORTAL-1940?page=com.atlassian.jira.pl...
]
RH Bugzilla Integration commented on GTNPORTAL-1940:
----------------------------------------------------
Jared MORGAN <jmorgan(a)redhat.com> made a comment on [bug
793910|https://bugzilla.redhat.com/show_bug.cgi?id=793910]
Technical note updated. If any revisions are required, please edit the "Technical
Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services
team.
Diffed Contents:
@@ -1,9 +1 @@
-==HELPDESK TICKET REQUIRES CCFR REVIEW BY SME==
+It was discovered that when users tabbed away from the calendar field, the calendar
dialog persisted. Users had to click outside the calendar field to close the calendar
dialog. The fix introduces updated behavior which ensures the calendar dialog closes on
tab navigation away from the field. This corrects the originally reported issue.-
-CAUSE: It was discovered that when users tabbed away from the calendar field, the
calendar dialog persisted.
-
-CONSEQUENCE: Users had to click outside the calendar field to close the calendar dialog.
-
-FIX: The fix introduces updated behavior to the [component name], which ensures the
calendar dialog closes on tab navigation away from the field
-
-RESULT: This corrects the originally reported issue.
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, worked
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/...
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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira