Always return a promise on UniqueDialog.run

issue6166
review30971002
This commit is contained in:
Cédric Krier
2017-01-10 11:39:20 +01:00
parent 69fba9b621
commit e173dab274
+1 -1
View File
@@ -2612,7 +2612,7 @@
},
run: function() {
if (this.running) {
return;
return jQuery.when();
}
var args = Array.prototype.slice.call(arguments);
var prm = jQuery.Deferred();