From 94d2f78715a95910e274aab7e665d970410d5732 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 12 Jan 2009 13:26:15 -0700 Subject: [PATCH] dialog.js is now needed for some other stuff also --- imp/index-dimp.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/imp/index-dimp.php b/imp/index-dimp.php index ad5710786..944c919ed 100644 --- a/imp/index-dimp.php +++ b/imp/index-dimp.php @@ -21,17 +21,10 @@ $scripts = array( array('mailbox-dimp.js', 'imp', false), array('DimpSlider.js', 'imp', true), array('unblockImages.js', 'imp', true), - array('popup.js', 'imp', true) + array('popup.js', 'imp', true), + array('dialog.js', 'imp', true) ); -/* Load necessary files for PGP or S/MIME passphrase input. */ -if ((!empty($GLOBALS['conf']['utils']['gnupg']) && - $GLOBALS['prefs']->getValue('use_pgp')) || - ($GLOBALS['prefs']->getValue('use_smime') && - Util::extensionExists('openssl'))) { - $scripts[] = array('dialog.js', 'imp', true); -} - /* Get site specific menu items. */ $js_code = $site_menu = array(); if (is_readable(IMP_BASE . '/config/menu.php')) { -- 2.11.0