mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
more notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5b902cd94c
commit
ed605fe5d8
@ -2379,7 +2379,7 @@ var UICollectionActions = actions.Actions({
|
|||||||
// UI...
|
// UI...
|
||||||
//
|
//
|
||||||
// XXX would be nice to make this nested (i.e. path list) -- collection grouping... (???)
|
// XXX would be nice to make this nested (i.e. path list) -- collection grouping... (???)
|
||||||
// XXX should we use options object???
|
// XXX should we use options object instead of arguments???
|
||||||
// XXX might need to check (in a standard way) that nothing is loaded...
|
// XXX might need to check (in a standard way) that nothing is loaded...
|
||||||
browseCollections: ['Collections/$Collections...',
|
browseCollections: ['Collections/$Collections...',
|
||||||
core.doc`Collection list...
|
core.doc`Collection list...
|
||||||
@ -2425,6 +2425,9 @@ var UICollectionActions = actions.Actions({
|
|||||||
})
|
})
|
||||||
|
|
||||||
// nothing loaded...
|
// nothing loaded...
|
||||||
|
// NOTE: we have to check both .data and .collection as
|
||||||
|
// we can have an empty collection loaded -- empty
|
||||||
|
// .data but a set .collection...
|
||||||
if(that.data.length == 0 && that.collection == null){
|
if(that.data.length == 0 && that.collection == null){
|
||||||
make.Empty('No collections...')
|
make.Empty('No collections...')
|
||||||
return
|
return
|
||||||
@ -2704,6 +2707,10 @@ var UICollectionActions = actions.Actions({
|
|||||||
// XXX also do:
|
// XXX also do:
|
||||||
// .saveCollection(..)
|
// .saveCollection(..)
|
||||||
// XXX EXPERIMENTAL...
|
// XXX EXPERIMENTAL...
|
||||||
|
// ...we might not actually need this as this essentially will
|
||||||
|
// do the same thing as .browseCollections(..)
|
||||||
|
// ...combining this with .browseCollections(..) might complicate
|
||||||
|
// things as we still need to reuse the later for other things...
|
||||||
loadCollection: [
|
loadCollection: [
|
||||||
collectionGetterWrapper(function(title){ this.loadCollection(title) })],
|
collectionGetterWrapper(function(title){ this.loadCollection(title) })],
|
||||||
loadMainCollection: ['Collections/Exit collection view',
|
loadMainCollection: ['Collections/Exit collection view',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user