Commit 296124aa authored by webchick's avatar webchick
Browse files

Issue #1595594 by Alan D.: Path modules node alter uses collapsible and...

Issue #1595594 by Alan D.: Path modules node alter uses collapsible and collapsed attributes in the 'alias' text field.
parent cd15c2a7
...@@ -141,8 +141,6 @@ function path_form_node_form_alter(&$form, $form_state) { ...@@ -141,8 +141,6 @@ function path_form_node_form_alter(&$form, $form_state) {
'#title' => t('URL alias'), '#title' => t('URL alias'),
'#default_value' => $path['alias'], '#default_value' => $path['alias'],
'#maxlength' => 255, '#maxlength' => 255,
'#collapsible' => TRUE,
'#collapsed' => TRUE,
'#description' => t('The alternative URL for this content. Use a relative path without a trailing slash. For example, enter "about" for the about page.'), '#description' => t('The alternative URL for this content. Use a relative path without a trailing slash. For example, enter "about" for the about page.'),
); );
$form['path']['pid'] = array('#type' => 'value', '#value' => $path['pid']); $form['path']['pid'] = array('#type' => 'value', '#value' => $path['pid']);
......
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