mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
some tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
a0f08b9531
commit
ba5072c02e
@ -774,8 +774,13 @@ var CollectionActions = actions.Actions({
|
|||||||
|
|
||||||
// aliases...
|
// aliases...
|
||||||
//
|
//
|
||||||
|
// XXX this may show up as a dialog, to disable this just add
|
||||||
|
// __dialog__: false to attrs...
|
||||||
loadMainCollection: ['Collections/Exit collection view',
|
loadMainCollection: ['Collections/Exit collection view',
|
||||||
{browseMode: 'uncollect'},
|
{
|
||||||
|
browseMode: 'uncollect',
|
||||||
|
__dialog__: false,
|
||||||
|
},
|
||||||
`loadCollection: "${MAIN_COLLECTION_TITLE}"`],
|
`loadCollection: "${MAIN_COLLECTION_TITLE}"`],
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -837,7 +837,7 @@ var DialogsActions = actions.Actions({
|
|||||||
+ (/^- .*$/.test(doc) ? ' (disabled)' : ''))
|
+ (/^- .*$/.test(doc) ? ' (disabled)' : ''))
|
||||||
.replace(/^-?[0-9]+\s*:\s*/, '')
|
.replace(/^-?[0-9]+\s*:\s*/, '')
|
||||||
.trim()
|
.trim()
|
||||||
make(txt)
|
make(txt == '*' ? `${dialog} (${txt})` : txt)
|
||||||
.on('open', function(){
|
.on('open', function(){
|
||||||
actions[dialog]()
|
actions[dialog]()
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user