From c3bc3781dc919008c6daef9bdb69b3b35072ddba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 16 Dec 2021 22:16:01 +0100 Subject: [PATCH] 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) --HG-- branch : 6.0 --- src/screen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screen.js b/src/screen.js index 13736f3eb0..d7931aab15 100644 --- a/src/screen.js +++ b/src/screen.js @@ -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();