Feng Forum

Support => Older versions => : Nuno Zimas June 29, 2010, 09:17:49 AM

: [1.7 RC2] JS code snippet in comment breaks task
: Nuno Zimas June 29, 2010, 09:17:49 AM
When including a JS code snippet in a comment, the task is no longer manageable.

It happened with a Google Analyitcs code snippet I have posted as comment so that a workmate could proceed with the task.

:
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-XXXXXX-XX']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
: Re: [1.7 RC2] JS code snippet in comment breaks task
: cabeza June 29, 2010, 09:50:45 AM
Noted, thanks.