minor refactorng and moving stuff around...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-12-25 05:00:46 +03:00
parent ba5072c02e
commit dd65fcbb72
2 changed files with 9 additions and 12 deletions

View File

@ -772,18 +772,6 @@ var CollectionActions = actions.Actions({
}],
// aliases...
//
// XXX this may show up as a dialog, to disable this just add
// __dialog__: false to attrs...
loadMainCollection: ['Collections/Exit collection view',
{
browseMode: 'uncollect',
__dialog__: false,
},
`loadCollection: "${MAIN_COLLECTION_TITLE}"`],
// Collection editing....
//
// NOTE: Currently these are sync, and sequencing collections
@ -2579,6 +2567,14 @@ var UICollectionActions = actions.Actions({
// XXX EXPERIMENTAL...
loadCollection: [
collectionGetterWrapper(function(title){ this.loadCollection(title) })],
loadMainCollection: ['Collections/Exit collection view',
{
browseMode: 'uncollect',
// prevent this from showing up in .uiDialogs list...
__dialog__: false,
},
`loadCollection: "${MAIN_COLLECTION_TITLE}"`],
// Collection actions with collection selection...
//

View File

@ -1310,6 +1310,7 @@ var BrowseActionsActions = actions.Actions({
'Crop/-81:Uncrop all',
'Crop/-82:$Uncrop',
'Collec$tions',
'Collections/-50:.*exit.*',
'Collections/-60:.*edit.*',
'Collections/-70:---',
'Collections/-70:.*remove.*',