changeset 38f9834bb4f0 in sao:6.0
details: https://hg.tryton.org/sao?cmd=changeset&node=38f9834bb4f0
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 31f8ee3c21ef -r 38f9834bb4f0 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
@@ -1688,7 +1688,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) {

Reply via email to