summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 636db82d4..e6c580dd8 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1728,6 +1728,9 @@ function rcube_webmail()
extwin.document.write('<html><body>' + this.get_label('loading') + '</body></html>');
}
+ // allow plugins to grab the window reference (#1489413)
+ this.triggerEvent('openwindow', { url:url, handle:extwin });
+
// focus window, delayed to bring to front
window.setTimeout(function() { extwin && extwin.focus(); }, 10);