add basic compatibility with new delet field in message list
This commit is contained in:
parent
357bbde671
commit
6f26bacff8
4 changed files with 9 additions and 3 deletions
5
mail.css
5
mail.css
|
@ -364,6 +364,11 @@ table.messagelist.fixedcopy {
|
||||||
background: url(images/listicons.png) -100px 0 no-repeat;
|
background: url(images/listicons.png) -100px 0 no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.messagelist tr td.flags span.delete
|
||||||
|
{
|
||||||
|
display: none; /* todo */
|
||||||
|
}
|
||||||
|
|
||||||
.messagelist tbody tr .attachment span.attachment {
|
.messagelist tbody tr .attachment span.attachment {
|
||||||
background-position: 0 -996px;
|
background-position: 0 -996px;
|
||||||
}
|
}
|
||||||
|
|
2
mail.min.css
vendored
2
mail.min.css
vendored
File diff suppressed because one or more lines are too long
3
ui.js
3
ui.js
|
@ -145,7 +145,8 @@ function rcube_mail_ui()
|
||||||
.addEventListener('menu-save', save_listoptions)
|
.addEventListener('menu-save', save_listoptions)
|
||||||
.addEventListener('enable-command', enable_command)
|
.addEventListener('enable-command', enable_command)
|
||||||
.addEventListener('responseafterlist', function(e){ switch_view_mode(rcmail.env.threading ? 'thread' : 'list', true) })
|
.addEventListener('responseafterlist', function(e){ switch_view_mode(rcmail.env.threading ? 'thread' : 'list', true) })
|
||||||
.addEventListener('responseaftersearch', function(e){ switch_view_mode(rcmail.env.threading ? 'thread' : 'list', true) });
|
.addEventListener('responseaftersearch', function(e){ switch_view_mode(rcmail.env.threading ? 'thread' : 'list', true) })
|
||||||
|
.addEventListener('beforetoggle_status', function(uid){ if (rcmail.message_list.rows[uid].deleted) { rcmail.mark_message('undelete', uid); return false; } }); // Roundcube core uses the delete field for undelete action
|
||||||
|
|
||||||
var dragmenu = $('#dragmessagemenu');
|
var dragmenu = $('#dragmessagemenu');
|
||||||
if (dragmenu.length) {
|
if (dragmenu.length) {
|
||||||
|
|
2
ui.min.js
vendored
2
ui.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue