Hookup Auto and Manual Search in Album Dialog

Hookup Auto and Manual Search in Album Dialog
This commit is contained in:
Qstick
2017-07-28 22:35:33 -04:00
parent f0b68afccd
commit 3888fec0d1
3 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -42,8 +42,8 @@ module.exports = Marionette.Layout.extend({
e.preventDefault();
}
CommandController.Execute('episodeSearch', {
episodeIds : [this.model.get('id')] //TODO Refactor for Albums search
CommandController.Execute('albumSearch', {
albumId : this.model.get('id')
});
vent.trigger(vent.Commands.CloseModalCommand);
@@ -56,7 +56,7 @@ module.exports = Marionette.Layout.extend({
this.mainView = new LoadingView();
this._showMainView();
this.releaseCollection.fetchEpisodeReleases(this.model.id); //TODO Refactor for Albums
this.releaseCollection.fetchAlbumReleases(this.model.id);
},
_showMainView : function() {