Browse Source

Fix mistake - was using echo instead of adding to output string

pdontthink 18 years ago
parent
commit
7e844b339d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/preview_pane/functions.php

+ 2 - 2
plugins/preview_pane/functions.php

@@ -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"