Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/ab60420f582caeb40f360c9e40e6a7149a428a34?style=split&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

listenTo, not promise for log table loading

pull/4/head
Mark McDowall 12 years ago
parent 5b329ba3af
commit ab60420f58

@ -58,8 +58,8 @@ define(
initialize: function () { initialize: function () {
this.collection = new LogCollection(); this.collection = new LogCollection();
this.collectionPromise = this.collection.fetch();
this.listenTo(this.collection, 'sync', this._showTable);
vent.on(vent.Events.CommandComplete, this._commandComplete, this); vent.on(vent.Events.CommandComplete, this._commandComplete, this);
}, },
@ -68,12 +68,7 @@ define(
}, },
onShow: function () { onShow: function () {
var self = this;
this._showToolbar(); this._showToolbar();
this.collectionPromise.done(function () {
self._showTable();
});
}, },
_showTable: function () { _showTable: function () {

Loading…
Cancel
Save