You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by ch...@apache.org on 2008/06/28 16:11:36 UTC

svn commit: r672526 - /incubator/shindig/trunk/php/src/gadgets/http/GadgetRenderingServlet.php

Author: chabotc
Date: Sat Jun 28 07:11:36 2008
New Revision: 672526

URL: http://svn.apache.org/viewvc?rev=672526&view=rev
Log:
Forgot the </script>..<script> tags

Modified:
    incubator/shindig/trunk/php/src/gadgets/http/GadgetRenderingServlet.php

Modified: incubator/shindig/trunk/php/src/gadgets/http/GadgetRenderingServlet.php
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/gadgets/http/GadgetRenderingServlet.php?rev=672526&r1=672525&r2=672526&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/gadgets/http/GadgetRenderingServlet.php (original)
+++ incubator/shindig/trunk/php/src/gadgets/http/GadgetRenderingServlet.php Sat Jun 28 07:11:36 2008
@@ -172,10 +172,11 @@
 			}
 			// otherwise it was already included by config.forceJsLibs.
 		}
+		echo "\n--></script>\n";
 		if (strlen($externJs) > 0) {
 			echo $externJs;
 		}
-		echo "\n".
+		echo "\n<script><!--\n".
 			$this->appendJsConfig($context, $gadget) . $this->appendMessages($gadget) . $this->appendPreloads($gadget, $context).
 			"\n--></script>\n<body onload='gadgets.util.runOnLoadHandlers();'>\n";
 		$gadgetExceptions = array();