Display confirmation message when adding a recipient in mobile mode (#86)

pull/5742/merge
Aleksander Machniak 7 years ago
parent 31907c3ff7
commit 9f030c3390

@ -1,5 +1,6 @@
<roundcube:include file="includes/layout.html" /> <roundcube:include file="includes/layout.html" />
<roundcube:include file="includes/menu.html" condition="!env:extwin && !env:framed" /> <roundcube:include file="includes/menu.html" condition="!env:extwin && !env:framed" />
<roundcube:add_label name="recipientsadded" />
<h1 class="voice"><roundcube:label name="compose" /></h1> <h1 class="voice"><roundcube:label name="compose" /></h1>

@ -490,7 +490,12 @@ function rcube_elastic_ui()
} }
rcmail.addEventListener('fileappended', function(e) { if (e.attachment.complete) attachmentmenu_append(e.item); }) rcmail.addEventListener('fileappended', function(e) { if (e.attachment.complete) attachmentmenu_append(e.item); })
.addEventListener('managesieve.insertrow', function(o) { bootstrap_style(o.obj); }); .addEventListener('managesieve.insertrow', function(o) { bootstrap_style(o.obj); })
.addEventListener('add-recipient', function() {
if (mode == 'phone') {
rcmail.display_message(rcmail.gettext('recipientsadded'), 'confirmation');
}
});
rcmail.init_pagejumper('.pagenav > input'); rcmail.init_pagejumper('.pagenav > input');

Loading…
Cancel
Save