Fix mistake - was using echo instead of adding to output string
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 9 Feb 2007 10:39:34 +0000 (10:39 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 9 Feb 2007 10:39:34 +0000 (10:39 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12248 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/preview_pane/functions.php

index de9ae3135b72944eb9e1f729ab2e6cc9e7aa736d..8bb06b7db4384196fff8f72802db1b2bbdc1998c 100644 (file)
@@ -148,8 +148,8 @@ function preview_pane_message_list_do()
       // if someone else asks for it, force the message list to reload 
       //
       else if ($pp_refresh_top)
-         echo "      if (typeof(parent.right.pp_refresh) != 'undefined')\n"
-            . "         parent.right.pp_refresh()\n\n";
+         $output.= "      if (typeof(parent.right.pp_refresh) != 'undefined')\n"
+                 . "         parent.right.pp_refresh()\n\n";
 
 
       $output .= "      document.location = '" . $base_uri . "plugins/preview_pane/empty_frame.php'\n"