very minor fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-01-20 20:05:37 +03:00
parent baabae3164
commit 89668fc080

View File

@ -918,16 +918,16 @@ var FileSystemLoaderUIActions = actions.Actions({
}
// show user the list...
var so = that.Overlay(browse.makeList(null, loaders)
.on('update', function(){
// select top element...
so.client.select(0)
})
// close self and parent...
.open(function(){
so.close()
o.parent.close()
}))
var so = that.Overlay(
browse.makeList(null, loaders,
{
path: Object.keys(loaders)[0]
})
// close self and parent...
.open(function(){
so.close()
o.parent.close()
}))
// closed menu...
.close(function(){
//o.parent.focus()