Fix closing forward-menu when opening Bounce dialog

pull/5742/merge
Aleksander Machniak 7 years ago
parent 08de22413d
commit 8bcecf52cb

@ -1010,6 +1010,11 @@ function rcube_elastic_ui()
}
else {
target = $('#' + name).data('button');
// catch cases as 'forwardmenu' where menu suffix has no hyphen
if (!target && name.match(/(?!-)menu$/)) {
target = $('#' + name.substr(0, name.length - 4) + '-menu').data('button');
}
}
if (name.match(/^drag/)) {

Loading…
Cancel
Save