mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +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 should this be editable???
|
||||||
// XXX make this selectable...
|
|
||||||
'base_path': function(actions, make, parent){
|
'base_path': function(actions, make, parent){
|
||||||
var elem = make(['Current path: ', this.location.path],
|
var elem = make(['Current path: ', this.location.path],
|
||||||
{
|
{
|
||||||
events: {
|
|
||||||
select: function(){
|
select: function(){
|
||||||
elem.find('.text').last().selectText()
|
elem.find('.text').last().selectText() },
|
||||||
},
|
|
||||||
deselect: function(){
|
deselect: function(){
|
||||||
elem.find('.text').last().selectText(null)
|
elem.find('.text').last().selectText(null) },
|
||||||
},
|
}) },
|
||||||
},
|
|
||||||
})
|
|
||||||
},
|
|
||||||
// XXX BUG: history closing errors -- non-critical...
|
// XXX BUG: history closing errors -- non-critical...
|
||||||
'target_dir': function(actions, make, parent){
|
'target_dir': function(actions, make, parent){
|
||||||
var elem = make(['$To: ',
|
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 update export state: index, crop, image...
|
||||||
// XXX should this be visible directly???
|
// XXX should this be visible directly???
|
||||||
exportDialog: ['- File/$Export/Export...',
|
exportDialog: ['- File/$Export/Export...',
|
||||||
|
|||||||
@ -1678,6 +1678,8 @@ var BrowserPrototype = {
|
|||||||
//
|
//
|
||||||
// This is a shorthand to using options.events object.
|
// This is a shorthand to using options.events object.
|
||||||
itemOptionsEventShorthands: [
|
itemOptionsEventShorthands: [
|
||||||
|
'select',
|
||||||
|
'deselect',
|
||||||
'open',
|
'open',
|
||||||
'menu',
|
'menu',
|
||||||
'update',
|
'update',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user