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

pull/1523/head
PatrickGHanna 8 years ago committed by Leonardo Galli
parent 1eca179b4e
commit 817f48448c

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

Loading…
Cancel
Save