Bind callback to this in save_current

Introduced by r c9c4f1426d34

issue8709
This commit is contained in:
Cédric Krier committed 2019-10-04 18:10:28 +02:00
1 parent f191548fa6
commit 8cc67d54e7
1 file changed
+1 -1
+1 -1
View File
@@ -1450,7 +1450,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