diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-01-05 15:45:43 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-01-05 15:45:43 +0100 |
commit | 72975e14970ec4eeac927b80754ee3a5c6ada58e (patch) | |
tree | e6cf0a6d5123a01f9cf06aaf678cf66307d8c723 /skins | |
parent | 81297785e1e0cd0cfb5bbee2e44a3e6da3c363dd (diff) |
Move folder/directory list auto-scrolling functionality to treelist widget (same as auto-expand) and make it work without list header/footer blocks
Diffstat (limited to 'skins')
-rw-r--r-- | skins/classic/functions.js | 5 | ||||
-rw-r--r-- | skins/larry/mail.css | 6 | ||||
-rw-r--r-- | skins/larry/templates/mail.html | 1 | ||||
-rw-r--r-- | skins/larry/ui.js | 4 |
4 files changed, 0 insertions, 16 deletions
diff --git a/skins/classic/functions.js b/skins/classic/functions.js index 4312d57bc..049e4d5d4 100644 --- a/skins/classic/functions.js +++ b/skins/classic/functions.js @@ -976,8 +976,6 @@ function rcube_init_mail_ui() rcmail.addEventListener('responseaftercheck-recent', rcube_render_mailboxlist); rcmail.addEventListener('responseafterrefresh', rcube_render_mailboxlist); rcmail.addEventListener('afterimport-messages', function(){ rcmail_ui.show_popup('uploadform', false); }); - - new rcmail_scroller('#mailboxlist-content', '#mailboxlist-title', '#mailboxlist-footer'); } if (rcmail.env.action == 'compose') @@ -991,9 +989,6 @@ function rcube_init_mail_ui() else if (rcmail.env.task == 'addressbook') { rcmail.addEventListener('afterupload-photo', function(){ rcmail_ui.show_popup('uploadform', false); }); - if (rcmail.gui_objects.folderlist) - new rcmail_scroller('#directorylist-content', '#directorylist-title', '#directorylist-footer'); - rcmail.gui_object('dragmenu', 'dragmenu'); } else if (rcmail.env.task == 'settings') { diff --git a/skins/larry/mail.css b/skins/larry/mail.css index d3b09c087..8e6e78e77 100644 --- a/skins/larry/mail.css +++ b/skins/larry/mail.css @@ -55,12 +55,6 @@ border-radius: 0 0 4px 4px; } -#folderlist-header { - width: 100%; - height: 12px; - top: 32px; -} - #mailboxcontainer, #messagelistcontainer { position: absolute; diff --git a/skins/larry/templates/mail.html b/skins/larry/templates/mail.html index 8f19b9f7f..ff5f7549c 100644 --- a/skins/larry/templates/mail.html +++ b/skins/larry/templates/mail.html @@ -27,7 +27,6 @@ <div id="mailview-left"> <!-- folders list --> -<div id="folderlist-header"></div> <div id="mailboxcontainer" class="uibox listbox"> <div id="folderlist-content" class="scroller withfooter"> <roundcube:object name="mailboxlist" id="mailboxlist" class="treelist listing" folder_filter="mail" unreadwrap="%s" /> diff --git a/skins/larry/ui.js b/skins/larry/ui.js index add691054..44fc727f6 100644 --- a/skins/larry/ui.js +++ b/skins/larry/ui.js @@ -216,8 +216,6 @@ function rcube_mail_ui() if (previewframe) mailviewsplit.init(); - new rcube_scroller('#folderlist-content', '#folderlist-header', '#folderlist-footer'); - rcmail.addEventListener('setquota', update_quota) .addEventListener('enable-command', enable_command) .addEventListener('afterimport-messages', show_uploadform); @@ -284,8 +282,6 @@ function rcube_mail_ui() orientation:'v', relative:true, start:226, min:150, size:12, render:resize_leftcol }).init(); new rcube_splitter({ id:'addressviewsplitter', p1:'#addresslist', p2:'#contacts-box', orientation:'v', relative:true, start:286, min:270, size:12 }).init(); - - new rcube_scroller('#directorylist-content', '#directorylist-header', '#directorylist-footer'); } var dragmenu = $('#dragcontactmenu'); |