$::form->use_stylesheets ersetzt
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 22 Oct 2012 15:34:46 +0000 (17:34 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Mon, 22 Oct 2012 15:34:46 +0000 (17:34 +0200)
SL/Controller/TaskServer.pm

index 2649f5f..97c41c6 100644 (file)
@@ -21,7 +21,7 @@ __PACKAGE__->run_before('check_auth');
 sub action_show {
   my ($self) = @_;
 
-  $::form->use_stylesheet('lx-office-erp/background_jobs.css');
+  $::request->{layout}->use_stylesheet('background_jobs.css');
 
   flash('warning', $::locale->text('The task server does not appear to be running.')) if !$self->task_server->is_running;