diff --git a/ui (gen4)/features/collections.js b/ui (gen4)/features/collections.js index e0a2ff28..bffb0c62 100755 --- a/ui (gen4)/features/collections.js +++ b/ui (gen4)/features/collections.js @@ -675,13 +675,6 @@ var CollectionActions = actions.Actions({ }) } } }], - clear: [function(){ - this.collection - && this.collectionUnloaded('*') - delete this.collections - delete this.__collection_order - delete this.location.collection - }], clone: [function(full){ return function(res){ if(this.collections){ @@ -710,6 +703,18 @@ var CollectionActions = actions.Actions({ } } }], + + clear: [function(){ + this.collection + && this.collectionUnloaded('*') + delete this.collections + delete this.__collection_order + delete this.location.collection + }], + + // Config... + toggleCollectionCropRetention: ['Interface/Collection crop save mode', + core.makeConfigToggler('collection-save-crop-state', ['all', 'main', 'none'])], })