|
|
@ -9,7 +9,10 @@ module.exports = Marionette.CollectionView.extend({
|
|
|
|
initialize : function(options) {
|
|
|
|
initialize : function(options) {
|
|
|
|
this.showExisting = true;
|
|
|
|
this.showExisting = true;
|
|
|
|
this.isExisting = options.isExisting;
|
|
|
|
this.isExisting = options.isExisting;
|
|
|
|
|
|
|
|
this.showing = 5;
|
|
|
|
|
|
|
|
if (this.isExisting) {
|
|
|
|
this.showing = 1;
|
|
|
|
this.showing = 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
vent.on(vent.Commands.ShowExistingCommand, this._onExistingToggle.bind(this));
|
|
|
|
vent.on(vent.Commands.ShowExistingCommand, this._onExistingToggle.bind(this));
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|