Shout: Properly close the nested output buffer
authorBen Klang <ben@alkaloid.net>
Thu, 4 Mar 2010 15:44:46 +0000 (10:44 -0500)
committerBen Klang <ben@alkaloid.net>
Thu, 4 Mar 2010 15:44:46 +0000 (10:44 -0500)
shout/lib/Ajax/Application.php

index 1964a80..2968ff6 100644 (file)
@@ -160,7 +160,7 @@ class Shout_Ajax_Application extends Horde_Ajax_Application_Base
             // Catch and return the output from $form->renderActive()
             ob_start();
             $form->renderActive(null, null, 'javascript:saveAction()');
-            $output = ob_get_clean();
+            $output = ob_get_flush();
             return $output;
             
         } catch (Exception $e) {