]
Trong Tran updated GTNPORTAL-1940:
----------------------------------
Original Estimate: 4 hours
Remaining Estimate: 4 hours
Labels: portal-s55 (was: )
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
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/...
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: