mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30: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...
|
// we got a widget, wait for it to close...
|
||||||
if(child instanceof widget.Widget){
|
if(child instanceof widget.Widget){
|
||||||
child
|
child
|
||||||
//.on('open', function(){ dialog.close() })
|
|
||||||
.on('close', function(evt, reason){
|
.on('close', function(evt, reason){
|
||||||
reason != 'reject'
|
reason != 'reject'
|
||||||
&& dialog.close(reason)
|
&& 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() })
|
|
||||||
|
|
||||||
// if it's not a dialog, don't wait...
|
// if it's not a dialog, don't wait...
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user