From 98183b39eb6f617dd4666ce86e0bceef0c8a82e9 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 | 34 ++++++++++++++++++++++++ program/localization/en_US/labels.inc | 1 + program/steps/mail/func.inc | 49 ++++++++++++++++++++++++----------- 3 files changed, 69 insertions(+), 15 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 3115690bb..644899166 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -5573,6 +5573,40 @@ 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 = $('