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
This commit is contained in:
Cédric Krier committed 2021-12-16 22:16:01 +01:00
1 parent c98399df4f
commit d4060d44b0
1 file changed
+1 -1
+1 -1
View File
@@ -638,7 +638,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();