changeset 244197e82dd4 in sao:5.2
details: https://hg.tryton.org/sao?cmd=changeset;node=244197e82dd4
description:
Bind callback to this in save_current
Introduced by r c9c4f1426d34
issue8709
(grafted from 1b6721ff25ce781e330c6535c3a405a8b857ed32)
diffstat:
src/screen.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 51003ba5a1b4 -r 244197e82dd4 src/screen.js
--- a/src/screen.js Sun Sep 29 23:40:55 2019 +0200
+++ b/src/screen.js Fri Oct 04 18:10:28 2019 +0200
@@ -1444,7 +1444,7 @@
return this.current_view.display().then(function() {
this.set_cursor();
return jQuery.Deferred().reject();
- });
+ }.bind(this));
}
var display = function() {
// Return the original promise to keep succeed/rejected state