From e173dab27449945d34f2172240f85efac45b6eb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 10 Jan 2017 11:39:20 +0100 Subject: [PATCH] Always return a promise on UniqueDialog.run issue6166 review30971002 --- src/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.js b/src/common.js index b60ffd02b2..4bfebf1a69 100644 --- a/src/common.js +++ b/src/common.js @@ -2612,7 +2612,7 @@ }, run: function() { if (this.running) { - return; + return jQuery.when(); } var args = Array.prototype.slice.call(arguments); var prm = jQuery.Deferred();