changeset 3fddbdb37471 in sao:4.8
details: https://hg.tryton.org/sao?cmd=changeset;node=3fddbdb37471
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 003db7db870e -r 3fddbdb37471 src/screen.js
--- a/src/screen.js Sun Oct 06 13:53:10 2019 +0200
+++ b/src/screen.js Fri Oct 04 18:10:28 2019 +0200
@@ -1302,7 +1302,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