Commit a56f7110 authored by webchick's avatar webchick
Browse files

Issue #1829338 by larowlan, falcon03: Fixed comment tab settings aren't...

Issue #1829338 by larowlan, falcon03: Fixed comment tab settings aren't announced in comment tab title.
parent d249e95a
...@@ -1057,7 +1057,7 @@ function comment_form_node_type_form_alter(&$form, $form_state) { ...@@ -1057,7 +1057,7 @@ function comment_form_node_type_form_alter(&$form, $form_state) {
'class' => array('comment-node-type-settings-form'), 'class' => array('comment-node-type-settings-form'),
), ),
'#attached' => array( '#attached' => array(
'library' => array('comment', 'drupal.comment'), 'library' => array(array('comment', 'drupal.comment')),
), ),
); );
// Unlike coment_form_node_form_alter(), all of these settings are applied // Unlike coment_form_node_form_alter(), all of these settings are applied
...@@ -1164,7 +1164,7 @@ function comment_form_node_form_alter(&$form, $form_state) { ...@@ -1164,7 +1164,7 @@ function comment_form_node_form_alter(&$form, $form_state) {
'class' => array('comment-node-settings-form'), 'class' => array('comment-node-settings-form'),
), ),
'#attached' => array( '#attached' => array(
'library' => array('comment', 'drupal.comment'), 'library' => array(array('comment', 'drupal.comment')),
), ),
'#weight' => 30, '#weight' => 30,
); );
......
Supports Markdown
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