Elastic: Add possibility to bypass dialog-mode for new windows

pull/5578/merge
Aleksander Machniak 6 years ago
parent 0f24dde2dd
commit 8cf9b02d42

@ -3488,7 +3488,8 @@ function rcube_elastic_ui()
*/
function window_open(url)
{
if (!is_mobile()) {
// Use 4th argument to bypass the dialog-mode e.g. for external windows
if (!is_mobile() || arguments[3] === true) {
return env.open_window.apply(rcmail, arguments);
}

Loading…
Cancel
Save