Bug #1479: Fix error loading jqplot Javascript files

There was a syntax error loading the jquery javascript files that made
everything fail after.

"Unterminated string literal"

It seems that error is caused by not correctly closing the code that
embeds Javascript with a </script> tag, so I changed that part and fixed
the issue.

http://stackoverflow.com/questions/227552/common-sources-of-unterminated-string-literal

FEA: ItEr76S04BugFixing
This commit is contained in:
Diego Pino 2012-07-10 11:52:57 +02:00
parent 4bdc94a625
commit f85e93f2e1

View file

@ -155,13 +155,39 @@
<!-- Include jqPlot library and additional plugins -->
<n:script type="text/javascript">
${jquery_min_js}
${jquery_jqplot_min_js}
${jqplot_canvasTextRenderer_min_js}
${jqplot_canvasAxisLabelRenderer_min_js}
${jqplot_barRenderer_min_js}
${jqplot_pieRenderer_min_js}
${jqplot_categoryAxisRenderer_min_js}
<![CDATA[
${jquery_min_js}
]]>
</n:script>
<n:script type="text/javascript">
<![CDATA[
${jquery_jqplot_min_js}
]]>
</n:script>
<n:script type="text/javascript">
<![CDATA[
${jqplot_canvasTextRenderer_min_js}
]]>
</n:script>
<n:script type="text/javascript">
<![CDATA[
${jqplot_canvasAxisLabelRenderer_min_js}
]]>
</n:script>
<n:script type="text/javascript">
<![CDATA[
${jqplot_barRenderer_min_js}
]]>
</n:script>
<n:script type="text/javascript">
<![CDATA[
${jqplot_pieRenderer_min_js}
]]>
</n:script>
<n:script type="text/javascript">
<![CDATA[
${jqplot_categoryAxisRenderer_min_js}
]]>
</n:script>
</zk>