changeset a8c23e9023e7 in sao:default
details: https://hg.tryton.org/sao?cmd=changeset;node=a8c23e9023e7
description:
        Prevent event when leaving invalid cell

        issue8625
        review273931002
diffstat:

 src/view/tree.js |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 6d772f3b0cef -r a8c23e9023e7 src/view/tree.js
--- a/src/view/tree.js  Sat Sep 07 23:22:12 2019 +0200
+++ b/src/view/tree.js  Sat Sep 07 23:24:07 2019 +0200
@@ -1521,10 +1521,10 @@
                     this.tree.edit_row(null);
                     this.get_static_el().show().find('[tabindex=0]').focus();
                 }
-                event_.preventDefault();
             } else {
                 widget.display(this.record, column.field);
             }
+            event_.preventDefault();
         }
     });
 

Reply via email to