@ -642,6 +642,7 @@ drag_row: function(e, id)
rcube _event . add _listener ( { event : 'mousemove' , object : this , method : 'drag_mouse_move' } ) ;
rcube _event . add _listener ( { event : 'mousemove' , object : this , method : 'drag_mouse_move' } ) ;
rcube _event . add _listener ( { event : 'mouseup' , object : this , method : 'drag_mouse_up' } ) ;
rcube _event . add _listener ( { event : 'mouseup' , object : this , method : 'drag_mouse_up' } ) ;
if ( bw . touch ) {
if ( bw . touch ) {
rcube _event . add _listener ( { event : 'touchmove' , object : this , method : 'drag_mouse_move' } ) ;
rcube _event . add _listener ( { event : 'touchmove' , object : this , method : 'drag_mouse_move' } ) ;
rcube _event . add _listener ( { event : 'touchend' , object : this , method : 'drag_mouse_up' } ) ;
rcube _event . add _listener ( { event : 'touchend' , object : this , method : 'drag_mouse_up' } ) ;
@ -649,6 +650,7 @@ drag_row: function(e, id)
// enable dragging over iframes
// enable dragging over iframes
this . add _dragfix ( ) ;
this . add _dragfix ( ) ;
this . focus ( ) ;
}
}
return false ;
return false ;
@ -1419,9 +1421,7 @@ highlight_children: function(id, status)
* /
* /
key _press : function ( e )
key _press : function ( e )
{
{
var target = e . target || { } ;
if ( ! this . focused || $ ( e . target ) . is ( 'input,textarea,select' ) )
if ( ! this . focused || target . nodeName == 'INPUT' || target . nodeName == 'TEXTAREA' || target . nodeName == 'SELECT' )
return true ;
return true ;
var keyCode = rcube _event . get _keycode ( e ) ,
var keyCode = rcube _event . get _keycode ( e ) ,