From: Michael M Slusarz Date: Tue, 16 Mar 2010 18:32:02 +0000 (-0600) Subject: jsappend is not used anywhere so remove it X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0db50f29b83a062c98eaac08afedc72cb08d10f3;p=horde.git jsappend is not used anywhere so remove it --- diff --git a/imp/compose-dimp.php b/imp/compose-dimp.php index 33044736b..d075a8266 100644 --- a/imp/compose-dimp.php +++ b/imp/compose-dimp.php @@ -208,5 +208,4 @@ IMP_Dimp::header(_("Message Composition"), $scripts); echo $t->fetch(IMP_TEMPLATES . '/dimp/compose/compose.html'); Horde::includeScriptFiles(); Horde::outputInlineScript(); -echo $compose_result['jsappend']; echo "\n"; diff --git a/imp/lib/Views/Compose.php b/imp/lib/Views/Compose.php index 16c6c1f54..c53bccdfa 100644 --- a/imp/lib/Views/Compose.php +++ b/imp/lib/Views/Compose.php @@ -22,10 +22,9 @@ class IMP_Views_Compose * * @return array Array with the following keys: *
-     * 'html' - The rendered HTML content.
-     * 'js' - An array of javascript code to run immediately.
-     * 'jsappend' - Javascript code to append at bottom of page.
-     * 'jsonload' - An array of javascript code to run on load.
+     * 'html' - (string) The rendered HTML content.
+     * 'js' - (array) Javascript code to run immediately.
+     * 'jsonload' - (array) Javascript code to run on load.
      * 
*/ static public function showCompose($args) diff --git a/imp/message-dimp.php b/imp/message-dimp.php index b36d0c06d..69b2ef24f 100644 --- a/imp/message-dimp.php +++ b/imp/message-dimp.php @@ -92,7 +92,4 @@ echo "\n"; require IMP_TEMPLATES . '/dimp/chunks/message.php'; Horde::includeScriptFiles(); Horde::outputInlineScript(); -if (!$disable_compose) { - echo $compose_result['jsappend']; -} echo "\n";