mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5e00e7164c
commit
9719df1316
@ -2451,20 +2451,14 @@ var FileSystemWriterUIActions = actions.Actions({
|
||||
}))
|
||||
},
|
||||
// XXX should this be editable???
|
||||
// XXX make this selectable...
|
||||
'base_path': function(actions, make, parent){
|
||||
var elem = make(['Current path: ', this.location.path],
|
||||
{
|
||||
events: {
|
||||
select: function(){
|
||||
elem.find('.text').last().selectText()
|
||||
},
|
||||
deselect: function(){
|
||||
elem.find('.text').last().selectText(null)
|
||||
},
|
||||
},
|
||||
})
|
||||
},
|
||||
select: function(){
|
||||
elem.find('.text').last().selectText() },
|
||||
deselect: function(){
|
||||
elem.find('.text').last().selectText(null) },
|
||||
}) },
|
||||
// XXX BUG: history closing errors -- non-critical...
|
||||
'target_dir': function(actions, make, parent){
|
||||
var elem = make(['$To: ',
|
||||
@ -2551,7 +2545,6 @@ var FileSystemWriterUIActions = actions.Actions({
|
||||
})
|
||||
},
|
||||
},
|
||||
// XXX might be a good idea to show (editable?) base path???
|
||||
// XXX update export state: index, crop, image...
|
||||
// XXX should this be visible directly???
|
||||
exportDialog: ['- File/$Export/Export...',
|
||||
|
||||
@ -1678,6 +1678,8 @@ var BrowserPrototype = {
|
||||
//
|
||||
// This is a shorthand to using options.events object.
|
||||
itemOptionsEventShorthands: [
|
||||
'select',
|
||||
'deselect',
|
||||
'open',
|
||||
'menu',
|
||||
'update',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user