Commit 91fb35ef authored by alexpott's avatar alexpott

Issue #2300313 by blueminds: Fixed Seven theme competely overrides the...

Issue #2300313 by blueminds: Fixed Seven theme competely overrides the $form['#attached'] on node form.
parent ad3e9369
......@@ -273,9 +273,7 @@ function seven_form_node_form_alter(&$form, &$form_state) {
$node = $form_state['controller']->getEntity();
$form['#theme'] = array('node_edit_form');
$form['#attached'] = array(
'css' => array(drupal_get_path('module', 'node') . '/css/node.module.css'),
);
$form['#attached']['css'][] = drupal_get_path('module', 'node') . '/css/node.module.css';
$form['advanced']['#type'] = 'container';
$is_new = !$node->isNew() ? format_date($node->getChangedTime(), 'short') : t('Not saved yet');
......
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