View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001516 | SOGo | Web Calendar | public | 2011-11-30 14:28 | 2015-05-22 01:37 |
Reporter | mrechte | Assigned To | francis | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 1.3.9 | ||||
Target Version | 2.3.0 | Fixed in Version | 2.3.0 | ||
Summary | 0001516: keyboard date / time entry not working numeric pad | ||||
Description | When imputing date / time (event dialog) the numeric keypad is not working. | ||||
Additional Information | Tested with both IE and FF | ||||
Tags | No tags attached. | ||||
I can confirm the same behaviour here, with Firefox under Windows as well as Linux. Seems that the numeric keypad keys stay in "cursor mode" even when num lock is active. The numeric keys from the alphabetic part of the keyboard are correctly recognized. |
|
sogo_enable_keypad_in_timepicker.patch (1,073 bytes)
From 1078ccc65f8387483bca7252dfdb461bf2241ceb Mon Sep 17 00:00:00 2001 From: Alessandro Briosi <ab1@metalit.com> Date: Wed, 13 May 2015 18:09:42 +0200 Subject: [PATCH] Fix Bug 0001516 - Timepiker supports keypad --- UI/WebServerResources/SOGoTimePicker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UI/WebServerResources/SOGoTimePicker.js b/UI/WebServerResources/SOGoTimePicker.js index a5acbea..9d25e35 100644 --- a/UI/WebServerResources/SOGoTimePicker.js +++ b/UI/WebServerResources/SOGoTimePicker.js @@ -206,7 +206,8 @@ var SOGoTimePickerInterface = { event.keyCode == Event.KEY_TAB || event.keyCode == Event.KEY_BACKSPACE) return true; - if (event.keyCode > 57 && event.keyCode != 186 && event.keyCode != 59 || + if (event.keyCode > 57 && (event.keyCode<96 || event.keyCode>105) + && event.keyCode != 186 && event.keyCode != 59 || (event.keyCode == 186 || event.keyCode == 59) && this.value.indexOf(":") >= 0) Event.stop(event); }, -- 2.1.4 |
|
Please find attached a patch that should solve the problem (at least on major browsers) |
|
Thank you for your patch. Ref: https://github.com/inverse-inc/sogo/commit/789334924429a4750d5f2c7ad4cfdb84c42e0717 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2011-11-30 14:28 | mrechte | New Issue | |
2011-12-02 14:00 | dbelhomm | Note Added: 0003097 | |
2015-05-15 12:43 | tsdogs | File Added: sogo_enable_keypad_in_timepicker.patch | |
2015-05-15 12:44 | tsdogs | Note Added: 0008495 | |
2015-05-15 12:50 | francis | Target Version | => 2.3.0 |
2015-05-22 01:37 | francis | Note Added: 0008517 | |
2015-05-22 01:37 | francis | Status | new => resolved |
2015-05-22 01:37 | francis | Fixed in Version | => 2.3.0 |
2015-05-22 01:37 | francis | Resolution | open => fixed |
2015-05-22 01:37 | francis | Assigned To | => francis |