Commit 120dbd97 authored by Dries's avatar Dries

- Patch #1122584 by 10oclock: use #attached for block_admin_display_form()...

- Patch #1122584 by 10oclock: use #attached for block_admin_display_form() instead of drupal_add_css().
parent bd0fec9a
......@@ -77,7 +77,7 @@ function block_admin_display_prepare_blocks($theme) {
*/
function block_admin_display_form($form, &$form_state, $blocks, $theme, $block_regions = NULL) {
drupal_add_css(drupal_get_path('module', 'block') . '/block.admin.css');
$form['#attached']['css'] = array(drupal_get_path('module', 'block') . '/block.admin.css');
// Get a list of block regions if one was not provided.
if (!isset($block_regions)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment