@ -1604,6 +1604,7 @@ function rcube_webmail()
if ( menu ) {
$ ( menu ) . hide ( ) ;
}
this . command ( action , this . env . drag _target ) ;
this . env . drag _target = null ;
} ;
@ -1633,7 +1634,8 @@ function rcube_webmail()
else if ( list = this . contact _list )
model = this . env . contactfolders ;
if ( this . drag _active && model && this . env . last _folder _target ) {
// Note: we accept only mouse events to ignore dragging aborts with ESC key (#6623)
if ( this . drag _active && model && this . env . last _folder _target && ! rcube _event . is _keyboard ( e ) ) {
var target = model [ this . env . last _folder _target ] ;
list . draglayer . hide ( ) ;
@ -1718,7 +1720,7 @@ function rcube_webmail()
// remove focus from list widgets
if ( window . rcube _list _widget && rcube _list _widget . _instances . length ) {
$ . each ( rcube _list _widget . _instances , function ( i , list ) {
$ . each ( rcube _list _widget . _instances , function ( i , list ) {
if ( list && ! rcube _mouse _is _over ( e , list . list . parentNode ) )
list . blur ( ) ;
} ) ;
@ -1733,7 +1735,7 @@ function rcube_webmail()
}
// reset popup menus; delayed to have updated menu_stack data
setTimeout ( function ( e ) {
setTimeout ( function ( e ) {
var obj , skip , config , id , i , parents = $ ( target ) . parents ( ) ;
for ( i = ref . menu _stack . length - 1 ; i >= 0 ; i -- ) {
id = ref . menu _stack [ i ] ;