Fixed: Movie Editor Path screwed up. Might also fix some other movie editor issues. (Fixes #2170)

pull/2289/head
Leonardo Galli 7 years ago
parent 1a22486aba
commit ffb098357d

@ -133,7 +133,7 @@ module.exports = Marionette.ItemView.extend({
if (rootFolder !== 'noChange') { if (rootFolder !== 'noChange') {
var rootFolderPath = RootFolders.get(parseInt(rootFolder, 10)); var rootFolderPath = RootFolders.get(parseInt(rootFolder, 10));
var folderName = m.get('folderName'); var folderName = m.get('folderName');
m.set('path', rootFolderPath.get('path')+ folderName); //m.set('path', rootFolderPath.get('path')+ folderName);
} }
} }
} }

@ -5,7 +5,7 @@ fullCollection.reset();
fullCollection.bindSignalR(); fullCollection.bindSignalR();
fullCollection.state.pageSize = -1; fullCollection.state.pageSize = -1;
fullCollection.state.page = 0; fullCollection.state.page = 0;
fullCollection.mode = "client"; //fullCollection.mode = "client";
fullCollection.parseRecords = function(resp) { fullCollection.parseRecords = function(resp) {
return resp; return resp;
}; };

@ -129,7 +129,7 @@ var Collection = PageableCollection.extend({
url : self.url + '/editor', url : self.url + '/editor',
toJSON : function() { toJSON : function() {
return t.filter(function(model) { return self.filter(function(model) {
return model.edited; return model.edited;
}); });
} }

Loading…
Cancel
Save