From: Michael M Slusarz Date: Tue, 8 Jun 2010 17:54:51 +0000 (-0600) Subject: Bug #9082: Missing inclusion of popup.js X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3da6a8d9e7f54b76cf39a34cf677521e419aa940;p=horde.git Bug #9082: Missing inclusion of popup.js --- diff --git a/imp/compose-dimp.php b/imp/compose-dimp.php index 7f64324e6..e23a8ac9f 100644 --- a/imp/compose-dimp.php +++ b/imp/compose-dimp.php @@ -211,6 +211,7 @@ $scripts = array( array('compose-base.js', 'imp'), array('compose-dimp.js', 'imp'), array('md5.js', 'horde'), + array('popup.js', 'horde'), array('textarearesize.js', 'horde') ); diff --git a/imp/message-dimp.php b/imp/message-dimp.php index 3a5c9a8e0..c09f88eaf 100644 --- a/imp/message-dimp.php +++ b/imp/message-dimp.php @@ -60,7 +60,6 @@ $scripts = array( array('textarearesize.js', 'horde'), array('fullmessage-dimp.js', 'imp'), array('imp.js', 'imp'), - array('md5.js', 'horde') ); foreach (array('from', 'to', 'cc', 'bcc', 'replyTo', 'log', 'uid', 'mailbox') as $val) { @@ -88,14 +87,19 @@ if (!$disable_compose) { $imp_ui->attachSpellChecker(); $js_out = array_merge($js_out, $compose_result['js']); - $scripts[] = array('compose-base.js', 'imp'); - $scripts[] = array('compose-dimp.js', 'imp'); + + $scripts = array_merge($scripts, array( + array('compose-base.js', 'imp'), + array('compose-dimp.js', 'imp'), + array('md5.js', 'horde'), + array('popup.js', 'horde') + )); if (!($prefs->isLocked('default_encrypt')) && ($prefs->getValue('use_pgp') || $prefs->getValue('use_smime'))) { $scripts[] = array('dialog.js', 'imp'); $scripts[] = array('redbox.js', 'horde'); - } + } $js_onload = $compose_result['jsonload']; }