@ -993,14 +993,7 @@ function rcube_elastic_ui()
env . content _lock = false ;
} ;
// display the list widget after 'list' and 'listgroup' commands
var common _list _handler = function ( e ) {
if ( mode != 'large' && ! env . content _lock && e . list ) {
show _list ( ) ;
}
env . content _lock = false ;
// display current folder name in list header
if ( e . title ) {
$ ( '.header > .header-title' , layout . list ) . text ( e . title ) ;
@ -1010,10 +1003,6 @@ function rcube_elastic_ui()
var list _handler = function ( e ) {
var args = { } ;
if ( rcmail . env . task == 'addressbook' || ( rcmail . env . task == 'mail' && ! rcmail . env . action ) ) {
args . list = true ;
}
// display current folder name in list header
if ( rcmail . env . task == 'mail' && ! rcmail . env . action ) {
var name = $ . type ( e ) == 'string' ? e : rcmail . env . mailbox ,
@ -1049,7 +1038,6 @@ function rcube_elastic_ui()
. addEventListener ( 'afterlistsearch' , list _handler )
// plugins
. addEventListener ( 'show-list' , function ( e ) {
e . list = true ;
common _list _handler ( e ) ;
} )
. addEventListener ( 'show-content' , function ( e ) {