Skip to content
Permalink
Browse files

[FIX] note: display DatetimePicker widget when clicking on calendar

- When trying to add a note on the systray menu via the Next
  Activities, clicking on the calendar icon doesn't open the datetime
  picker.

  This is due to the fact that the wrong event is triggered.
  A `click` was triggered instead of a `focusin`.
  • Loading branch information...
tbe-odoo committed Feb 19, 2019
1 parent 2be9d73 commit 29ceff3c63e075f47d317e9782c18febe9dbedcd
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/note/static/src/js/systray_activity_menu.js
@@ -118,7 +118,7 @@ ActivityMenu.include({
_onNoteDateTimeSetClick: function (ev) {
ev.preventDefault();
ev.stopPropagation();
this.noteDateTimeWidget.$input.click();
this.noteDateTimeWidget.$input.focus();
},
/**
* Saving note (quick create) and updating activity preview

0 comments on commit 29ceff3

Please sign in to comment.
You can’t perform that action at this time.