core/modules/edit/edit.module | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/modules/edit/edit.module b/core/modules/edit/edit.module index 5291bb7..aee37af 100644 --- a/core/modules/edit/edit.module +++ b/core/modules/edit/edit.module @@ -55,7 +55,9 @@ function edit_page_build(&$page) { function edit_library_info_alter(&$libraries, $module) { if ($module == 'edit') { $css = _edit_theme_css(); - $libraries['edit']['css'] = array_merge($libraries['edit']['css'], $css); + foreach ($css as $css_file) { + $libraries['edit']['css'][$css_file] = array(); + } } } @@ -136,7 +138,7 @@ function _edit_theme_css($theme = NULL) { if (isset($info['edit_stylesheets'])) { $css = $info['edit_stylesheets']; foreach ($css as $key => $path) { - $css[$key] = array('type' => 'file', 'data' => $theme_path . '/' . $path); + $css[$key] = '/' . $theme_path . '/' . $path; } } if (isset($info['base theme'])) {