From fe477e63f59507f78df996b9ba2a1e7276cefd62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Tue, 27 Oct 2015 11:28:30 +0100 Subject: [PATCH] Add missing set_cursor review20481002 --- src/view.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/view.js b/src/view.js index 4789f78bf0..1b283059d3 100644 --- a/src/view.js +++ b/src/view.js @@ -3874,6 +3874,7 @@ // TODO sequence var callback = function(result) { + var prm = jQuery.when(); if (!jQuery.isEmptyObject(result)) { var ids = []; var i, len; @@ -3881,9 +3882,11 @@ ids.push(result[i][0]); } this.screen.group.load(ids, true); - this.screen.display(); + prm = this.screen.display(); } - // TODO set_cursor + prm.done(function() { + this.screen.set_cursor(); + }.bind(this)); this.wid_text.val(''); }.bind(this); var parser = new Sao.common.DomainParser();