fix fckeditor damage from dashboard fixes: Elements/Footer inadvertantly included...
authorivan <ivan>
Wed, 25 Aug 2010 22:55:25 +0000 (22:55 +0000)
committerivan <ivan>
Wed, 25 Aug 2010 22:55:25 +0000 (22:55 +0000)
rt/FREESIDE_MODIFIED
rt/share/html/autohandler

index 50b44ec..e14781e 100644 (file)
@@ -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)
index 1bb2c93..b44bd68 100755 (executable)
@@ -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