changeset d54bcc350a21 in sao:6.2
details: https://hg.tryton.org/sao?cmd=changeset&node=d54bcc350a21
description:
Set focus on Date text input instead of button
issue11539
review411231003
(grafted from 35a53bba878e6108105ea75685a30d9dd1c808fc)
diffstat:
src/view/form.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 1f4af1ac41fa -r d54bcc350a21 src/view/form.js
--- a/src/view/form.js Wed Jun 08 09:16:23 2022 +0200
+++ b/src/view/form.js Wed Jun 08 09:17:38 2022 +0200
@@ -1739,7 +1739,7 @@
this.date.val(this._format(this.get_format(), value));
},
focus: function() {
- this.input.focus();
+ this.date.focus();
},
get modified() {
if (this.record && this.field) {