changeset 76b192132402 in sao:5.0
details: https://hg.tryton.org/sao?cmd=changeset;node=76b192132402
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 f94469d7f108 -r 76b192132402 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
@@ -1362,7 +1362,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