changeset 4e2f8aee4f9d in sao:6.0
details: https://hg.tryton.org/sao?cmd=changeset&node=4e2f8aee4f9d
description:
Connect from of Between using change event
We do not use any more tempusdominus so the dp.change event does not
exist
anymore.
issue11020
review374401005
(grafted from d17fdbfd65e371281675511620c2d434e1f2c4a2)
diffstat:
src/screen.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 414fdc2183b7 -r 4e2f8aee4f9d src/screen.js
--- a/src/screen.js Thu Dec 16 22:14:22 2021 +0100
+++ b/src/screen.js Thu Dec 16 22:16:01 2021 +0100
@@ -633,7 +633,7 @@
init: function(format, id) {
this.format = format;
Sao.ScreenContainer.BetweenDates._super.init.call(this, id);
- this.from.on('dp.change', this._from_changed.bind(this));
+ this.from.change(this._from_changed.bind(this));
},
_get_value: function(entry, value) {
return entry.find('input[type=text]').val();