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 | |
parent | 45f5d02ebfeaef2a955b377436dcf3b7e326c915 (diff) |
fix fckeditor damage from dashboard fixes: Elements/Footer inadvertantly included in css and javascript, RT#9412
Diffstat (limited to 'rt')
-rw-r--r-- | rt/FREESIDE_MODIFIED | 1 | ||||
-rwxr-xr-x | rt/share/html/autohandler | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/rt/FREESIDE_MODIFIED b/rt/FREESIDE_MODIFIED index 50b44ec70..e14781e70 100644 --- a/rt/FREESIDE_MODIFIED +++ b/rt/FREESIDE_MODIFIED @@ -18,6 +18,7 @@ lib/RT/Tickets_Overlay.pm #customfield date patch lib/RT/URI/freeside.pm lib/RT/URI/freeside/Internal.pm lib/RT/URI/freeside/XMLRPC.pm + share/html/autohandler #Footer getting appended where unwelcome share/html/Admin/Users/Modify.html share/html/Elements/CollectionList share/html/Elements/EditCustomFieldDate #customfield date patch (NEW) 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 |