Make sure we have send more then just the <HEAD> of the document
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 15 Feb 2010 21:05:49 +0000 (16:05 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 15 Feb 2010 21:06:56 +0000 (16:06 -0500)
before we call Ansel_View#html so any inline script has somewhere to
go.

ansel/view.php

index 1740fbb..5c6b653 100644 (file)
@@ -46,7 +46,7 @@ try {
 
 $title = $view->getTitle();
 require ANSEL_TEMPLATES . '/common-header.inc';
-$view_html = $view->html();
 require ANSEL_TEMPLATES . '/menu.inc';
+$view_html = $view->html();
 echo $view_html;
 require $registry->get('templates', 'horde') . '/common-footer.inc';