[FIX] web: Load SystrayMenu even if a systray's deferred is rejected

This commit is contained in:
Yannick Tivisse
2016-02-08 11:08:34 +01:00
parent 09659cca30
commit 46e925aa9f
@@ -17,9 +17,10 @@ var SystrayMenu = Widget.extend({
var self = this;
self._super.apply(this, arguments);
self.load_items();
return $.when.apply($, self.items).done(function () {
$.when.apply($, self.items).always(function () {
self.load.resolve();
});
return self.load;
},
load_items: function() {
var self = this;