1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

Fix: A small bug fix for items loading as undefined in organize modal. Movie titles should now show up correctly. (#1424)

This commit is contained in:
PatrickGHanna 2017-05-06 04:31:41 -06:00 committed by Leonardo Galli
parent 1eca179b4e
commit 817f48448c

View File

@ -52,7 +52,6 @@ module.exports = Marionette.ItemView.extend({
this.listenTo(FullMovieCollection, 'save', function() {
window.alert(' Done Saving');
var selected = FullMovieCollection.where({ selected : true });
});
@ -177,7 +176,7 @@ module.exports = Marionette.ItemView.extend({
},
_organizeFiles : function() {
var selected = this.editorGrid.getSelectedModels();
var selected = FullMovieCollection.where({ selected : true });
var updateFilesMoviesView = new UpdateFilesMoviesView({ movies : selected });
this.listenToOnce(updateFilesMoviesView, 'updatingFiles', this._afterSave);