some tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-04-30 04:03:41 +03:00
parent a25a5d2228
commit 39a67645de
2 changed files with 11 additions and 10 deletions

View File

@ -129,14 +129,13 @@ var SlideshowActions = actions.Actions({
}) })
} }
}) })
// update slideshow menu...
// update slideshow menu... .open(function(){
oo.client.open(function(){ o.update()
o.update() .then(function(){
.then(function(){ o.select(txt)
o.select(txt) })
}) })
})
}) })
make(['Direction: ', make(['Direction: ',
@ -160,7 +159,8 @@ var SlideshowActions = actions.Actions({
}) })
o.dom.addClass('metadata-view tail-action') o.dom.addClass('metadata-view tail-action')
o.select(-1)
setTimeout(function(){ o.select(-1) }, 0)
return o return o
})], })],

View File

@ -317,7 +317,7 @@ module.makeUIDialog = function(make){
args.shift() args.shift()
: (this.config['ui-default-container'] || 'Overlay') : (this.config['ui-default-container'] || 'Overlay')
return this[container](make.apply(this, args)) return this[container](make.apply(this, args)).client
} }
f.__dialog__ = true f.__dialog__ = true
return f return f
@ -372,6 +372,7 @@ var DialogsActions = actions.Actions({
Panel: ['- Interface/', Panel: ['- Interface/',
makeUIContainer(function(dialog){ makeUIContainer(function(dialog){
// XXX // XXX
console.error('Panels are not yet implemented.')
})], })],