From 765ecb9fa0eb5089242c0fb6d348dd600c95c39a Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Tue, 2 Oct 2012 14:14:24 +0200 Subject: Let the skin limit the number of visible recipeints and place a link to show them all in a dialog (better fix for #1488590) --- program/js/app.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'program/js') diff --git a/program/js/app.js b/program/js/app.js index 4d784e532..06eb9295c 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -5624,6 +5624,32 @@ function rcube_webmail() this.messages = {}; }; + // open a jquery UI dialog with the given content + this.show_popup_dialog = function(html, title) + { + // forward call to parent window + if (this.is_framed()) { + parent.rcmail.show_popup_dialog(html, title); + return; + } + + var popup = $('