mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
some ui cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
ff05a7dc2e
commit
5b902cd94c
@ -355,7 +355,7 @@ module.PortableAppControl = core.ImageGridFeatures.Feature({
|
|||||||
handlers: [
|
handlers: [
|
||||||
// update window title...
|
// update window title...
|
||||||
// XXX make this generic...
|
// XXX make this generic...
|
||||||
['focusImage',
|
['focusImage clear',
|
||||||
function(){
|
function(){
|
||||||
if(this.images){
|
if(this.images){
|
||||||
var img = this.images[this.current]
|
var img = this.images[this.current]
|
||||||
|
|||||||
@ -2380,6 +2380,7 @@ var UICollectionActions = actions.Actions({
|
|||||||
//
|
//
|
||||||
// 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???
|
||||||
|
// 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...
|
||||||
|
|
||||||
@ -2423,6 +2424,12 @@ var UICollectionActions = actions.Actions({
|
|||||||
.addClass('highlighted')
|
.addClass('highlighted')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// nothing loaded...
|
||||||
|
if(that.data.length == 0 && that.collection == null){
|
||||||
|
make.Empty('No collections...')
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
var openHandler = function(_, title){
|
var openHandler = function(_, title){
|
||||||
var title = $(this).find('.text').attr('text') || title
|
var title = $(this).find('.text').attr('text') || title
|
||||||
// create collection if it does not exist...
|
// create collection if it does not exist...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user