mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5043e19db8
commit
0f4477ba32
@ -793,16 +793,9 @@ var BrowseActionsActions = actions.Actions({
|
||||
// we got a widget, wait for it to close...
|
||||
if(child instanceof widget.Widget){
|
||||
child
|
||||
//.on('open', function(){ dialog.close() })
|
||||
.on('close', function(evt, reason){
|
||||
reason != 'reject'
|
||||
&& dialog.close(reason)
|
||||
})
|
||||
// XXX is this a hack???
|
||||
// ...for some reason when clicking child
|
||||
// loses focus while when opening via keyboard
|
||||
// everything is OK...
|
||||
//.one('update', function(){ child.focus() })
|
||||
&& dialog.close(reason) })
|
||||
|
||||
// if it's not a dialog, don't wait...
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user