diff --git a/ui (gen4)/features/ui-slideshow.js b/ui (gen4)/features/ui-slideshow.js index e7dc3c2e..93025970 100755 --- a/ui (gen4)/features/ui-slideshow.js +++ b/ui (gen4)/features/ui-slideshow.js @@ -129,14 +129,13 @@ var SlideshowActions = actions.Actions({ }) } }) - - // update slideshow menu... - oo.client.open(function(){ - o.update() - .then(function(){ - o.select(txt) - }) - }) + // update slideshow menu... + .open(function(){ + o.update() + .then(function(){ + o.select(txt) + }) + }) }) make(['Direction: ', @@ -160,7 +159,8 @@ var SlideshowActions = actions.Actions({ }) o.dom.addClass('metadata-view tail-action') - o.select(-1) + + setTimeout(function(){ o.select(-1) }, 0) return o })], diff --git a/ui (gen4)/features/ui-widgets.js b/ui (gen4)/features/ui-widgets.js index c4020245..9daa5dd6 100755 --- a/ui (gen4)/features/ui-widgets.js +++ b/ui (gen4)/features/ui-widgets.js @@ -317,7 +317,7 @@ module.makeUIDialog = function(make){ args.shift() : (this.config['ui-default-container'] || 'Overlay') - return this[container](make.apply(this, args)) + return this[container](make.apply(this, args)).client } f.__dialog__ = true return f @@ -372,6 +372,7 @@ var DialogsActions = actions.Actions({ Panel: ['- Interface/', makeUIContainer(function(dialog){ // XXX + console.error('Panels are not yet implemented.') })],