From 6abdfff07ddaf375bac51f74b5be4435f2878121 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Wed, 23 Oct 2013 10:39:17 +0200 Subject: Allow to override popup options; return reference to popup dialog --- program/js/app.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 01707362f..c8101ef91 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -5900,24 +5900,23 @@ function rcube_webmail() }; // open a jquery UI dialog with the given content - this.show_popup_dialog = function(html, title, buttons) + this.show_popup_dialog = function(html, title, buttons, options) { // forward call to parent window if (this.is_framed()) { - parent.rcmail.show_popup_dialog(html, title, buttons); - return; + return parent.rcmail.show_popup_dialog(html, title, buttons); } var popup = $('