Elastic: Fix bug where toolbar disappears on attachment menu use in Chrome (#6677)

pull/6697/head
Aleksander Machniak 5 years ago
parent c827925051
commit 844ec53612

@ -6,6 +6,7 @@ CHANGELOG Roundcube Webmail
- Elastic: Changed read/unread icons (#6636)
- Elastic: Changed "Move to..." icon (#6637)
- Elastic: Add hide/show for advanced preferences (#6632)
- Elastic: Fix bug where toolbar disappears on attachment menu use in Chrome (#6677)
- Fix so "Open in new window" consistently displays "external window" interface (#6659)
- Fix bug where next row wasn't selected after deleting a collapsed thread (#6655)
- Fix bug where external content (e.g. mail body) was passed to templates parsing code (#6640)

@ -2847,7 +2847,7 @@ function rcube_elastic_ui()
});
// call menu-open so core can set state of menu commands
rcmail.command('menu-open', {menu: 'attachmentmenu', id: id}, obj, event);
return rcmail.command('menu-open', {menu: 'attachmentmenu', id: id}, obj, event);
};
/**
@ -2867,7 +2867,7 @@ function rcube_elastic_ui()
'class': 'button icon dropdown skip-content'
})
.on('click', function(e) {
attachmentmenu($('#attachmentmenu'), button, e);
return attachmentmenu($('#attachmentmenu'), button, e);
})
.append($('<span>').attr('class', 'inner').text(label))
.appendTo(item);

Loading…
Cancel
Save