mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-12-16 16:21:40 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
408e4c68aa
commit
4c387d328f
@ -210,7 +210,11 @@ var StatusBarActions = actions.Actions({
|
|||||||
reset_on_done: false,
|
reset_on_done: false,
|
||||||
})
|
})
|
||||||
.on('edit-commit', function(_, text){
|
.on('edit-commit', function(_, text){
|
||||||
that.focusRibbon(text == '*' ? that.base : parseInt(text)-1)
|
var i = parseInt(text)
|
||||||
|
i = i >= 1 ? i-1
|
||||||
|
: i == null ? 'current'
|
||||||
|
: i
|
||||||
|
that.focusRibbon(text == '*' ? that.base : i)
|
||||||
})
|
})
|
||||||
.focus(function(){
|
.focus(function(){
|
||||||
$(this).selectText()
|
$(this).selectText()
|
||||||
|
|||||||
@ -591,6 +591,7 @@ var DialogsActions = actions.Actions({
|
|||||||
return res
|
return res
|
||||||
})],
|
})],
|
||||||
|
|
||||||
|
|
||||||
listDialogs: ['Interface/Dialog/Dialog list...',
|
listDialogs: ['Interface/Dialog/Dialog list...',
|
||||||
makeUIDialog(function(){
|
makeUIDialog(function(){
|
||||||
var actions = this
|
var actions = this
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user