merge RT 4.2.11 and Header changes to disable RT javascript, RT#34237
authorIvan Kohler <ivan@freeside.biz>
Fri, 10 Jul 2015 06:16:16 +0000 (23:16 -0700)
committerIvan Kohler <ivan@freeside.biz>
Fri, 10 Jul 2015 06:16:16 +0000 (23:16 -0700)
rt/share/html/Elements/Header

index 5215934..3aeb319 100755 (executable)
@@ -106,6 +106,7 @@ if ( $JavaScript ) {
 
 for my $cssfile ( @css_files ) {
   $head .= qq(<link rel="stylesheet" href="$WebPath$cssfile" type="text/css" media="all" />\n);
+}
 
 for (keys %{$LinkRel || {}}) {
   $head .= qq(<link rel="$_" href="$WebPath) . $LinkRel->{$_} . '" />';
@@ -148,4 +149,5 @@ $LinkRel => undef
 $SkipDoctype => 0
 $RichText => 1
 $BodyClass => undef
+$JavaScript => 1
 </%ARGS>