diff options
author | ivan <ivan> | 2010-08-25 22:55:25 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-08-25 22:55:25 +0000 |
commit | d37e29db87490cba5793a0db5121b7b6010feef0 (patch) | |
tree | 24128990eb53a065730803ad3093e5873bb8ae6a /rt/share/html/autohandler | |
parent | 45f5d02ebfeaef2a955b377436dcf3b7e326c915 (diff) |
fix fckeditor damage from dashboard fixes: Elements/Footer inadvertantly included in css and javascript, RT#9412
Diffstat (limited to 'rt/share/html/autohandler')
-rwxr-xr-x | rt/share/html/autohandler | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rt/share/html/autohandler b/rt/share/html/autohandler index 1bb2c939f..b44bd68d5 100755 --- a/rt/share/html/autohandler +++ b/rt/share/html/autohandler @@ -52,7 +52,9 @@ $m->callback( ARGSRef => \%ARGS, CallbackName => 'Init', CallbackPage => '/autoh RT::Interface::Web::HandleRequest(\%ARGS); -$m->comp( '/Elements/Footer', %ARGS ); +$m->comp( '/Elements/Footer', %ARGS ) + unless $r->content_type =~ qr<^(text|application)/(x-)?(css|javascript)>; + </%INIT> <%ARGS> $user => undef |