diff options
Diffstat (limited to 'includes/batch.inc')
-rw-r--r-- | includes/batch.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/batch.inc b/includes/batch.inc index 22692f0ad..c4f481a05 100644 --- a/includes/batch.inc +++ b/includes/batch.inc @@ -22,6 +22,13 @@ function _batch_page() { // Register database update for end of processing. register_shutdown_function('_batch_shutdown'); + // Add batch-specific css. + foreach ($batch['sets'] as $batch_set) { + foreach ($batch_set['css'] as $css) { + drupal_add_css($css); + } + } + $op = isset($_REQUEST['op']) ? $_REQUEST['op'] : ''; $output = NULL; switch ($op) { |