mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00: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...
|
||||
//
|
||||
// XXX this may show up as a dialog, to disable this just add
|
||||
// __dialog__: false to attrs...
|
||||
loadMainCollection: ['Collections/Exit collection view',
|
||||
{browseMode: 'uncollect'},
|
||||
{
|
||||
browseMode: 'uncollect',
|
||||
__dialog__: false,
|
||||
},
|
||||
`loadCollection: "${MAIN_COLLECTION_TITLE}"`],
|
||||
|
||||
|
||||
|
||||
@ -837,7 +837,7 @@ var DialogsActions = actions.Actions({
|
||||
+ (/^- .*$/.test(doc) ? ' (disabled)' : ''))
|
||||
.replace(/^-?[0-9]+\s*:\s*/, '')
|
||||
.trim()
|
||||
make(txt)
|
||||
make(txt == '*' ? `${dialog} (${txt})` : txt)
|
||||
.on('open', function(){
|
||||
actions[dialog]()
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user