summaryrefslogtreecommitdiff
path: root/skins/larry/ui.js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-01-10 21:15:50 +0000
committerthomascube <thomas@roundcube.net>2012-01-10 21:15:50 +0000
commit8365492591fe3a4b660aa803ef0012783dc20471 (patch)
treed14fa697df5f98f431a9466eb2a5d1276e585915 /skins/larry/ui.js
parent004a08d3f86ce76077c1f7a46dc2036f6339fc58 (diff)
Set list mode buttons after switching to another folder
Diffstat (limited to 'skins/larry/ui.js')
-rw-r--r--skins/larry/ui.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/skins/larry/ui.js b/skins/larry/ui.js
index 55ea98aa0..6af37c6ce 100644
--- a/skins/larry/ui.js
+++ b/skins/larry/ui.js
@@ -63,6 +63,7 @@ function rcube_mail_ui()
if (rcmail.env.task == 'mail') {
rcmail.addEventListener('menu-open', show_listoptions);
rcmail.addEventListener('menu-save', save_listoptions);
+ rcmail.addEventListener('responseafterlist', function(e){ switch_view_mode(rcmail.env.threading ? 'thread' : 'list') });
var dragmenu = $('#dragmessagemenu');
if (dragmenu.length) {