changeset 3841861d5f2d in sao:5.2
details: https://hg.tryton.org/sao?cmd=changeset;node=3841861d5f2d
description:
Wait for display to complete in Screen.remove
The returned promise of remove must resolve only when the display of
the screen
is complete. Otherwise there is a miss-matching between screen and the
view.
issue9022
review278491003
(grafted from 57e788408a199ddcbfd13db27066de12ce12a98a)
diffstat:
src/screen.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r eac6c246c3e1 -r 3841861d5f2d src/screen.js
--- a/src/screen.js Thu Feb 06 20:48:05 2020 +0100
+++ b/src/screen.js Mon Feb 10 23:40:51 2020 +0100
@@ -1547,7 +1547,7 @@
}
return jQuery.when.apply(jQuery, prms).then(function() {
- this.display().done(function() {
+ return this.display().done(function() {
this.set_cursor();
}.bind(this));
}.bind(this));