Skip to content
Snippets Groups Projects
Commit 45aa1d9a authored by Earl Miles's avatar Earl Miles
Browse files

Correct autocomplete paths.

parent 5c05eb20
No related branches found
No related tags found
No related merge requests found
...@@ -454,6 +454,8 @@ function ctools_content_configure_form_defaults(&$form, &$form_state) { ...@@ -454,6 +454,8 @@ function ctools_content_configure_form_defaults(&$form, &$form_state) {
'#default_value' => isset($conf['override_title_text']) ? $conf['override_title_text'] : '', '#default_value' => isset($conf['override_title_text']) ? $conf['override_title_text'] : '',
'#size' => 35, '#size' => 35,
'#id' => 'override-title-textfield', '#id' => 'override-title-textfield',
'#process' => array('ctools_dependent_process'),
'#dependency' => array('override-title-checkbox' => array(1)),
); );
$form['aligner_stop'] = array( $form['aligner_stop'] = array(
'#value' => '</div><div style="clear: both; padding: 0; margin: 0"></div>', '#value' => '</div><div style="clear: both; padding: 0; margin: 0"></div>',
......
...@@ -99,7 +99,7 @@ function ctools_context_node_settings_form($conf, $external = FALSE) { ...@@ -99,7 +99,7 @@ function ctools_context_node_settings_form($conf, $external = FALSE) {
'#title' => t('Enter the title or NID of a post'), '#title' => t('Enter the title or NID of a post'),
'#type' => 'textfield', '#type' => 'textfield',
'#maxlength' => 512, '#maxlength' => 512,
'#autocomplete_path' => 'ctools/node/autocomplete', '#autocomplete_path' => 'ctools/autocomplete/node',
'#weight' => -10, '#weight' => -10,
); );
......
...@@ -78,7 +78,7 @@ function ctools_context_node_edit_form_settings_form($conf, $external = FALSE) { ...@@ -78,7 +78,7 @@ function ctools_context_node_edit_form_settings_form($conf, $external = FALSE) {
'#title' => t('Enter the title or NID of a post'), '#title' => t('Enter the title or NID of a post'),
'#type' => 'textfield', '#type' => 'textfield',
'#maxlength' => 512, '#maxlength' => 512,
'#autocomplete_path' => 'ctools/node/autocomplete', '#autocomplete_path' => 'ctools/autocomplete/node',
'#weight' => -10, '#weight' => -10,
); );
......
...@@ -317,6 +317,8 @@ function views_content_views_content_type_edit_form(&$form, &$form_state) { ...@@ -317,6 +317,8 @@ function views_content_views_content_type_edit_form(&$form, &$form_state) {
'#title' => t('Pager ID'), '#title' => t('Pager ID'),
'#size' => 4, '#size' => 4,
'#id' => 'use-pager-textfield', '#id' => 'use-pager-textfield',
'#process' => array('ctools_dependent_process'),
'#dependency' => array('use-pager-checkbox' => array(1)),
); );
$form['pager_aligner_stop'] = array( $form['pager_aligner_stop'] = array(
'#value' => '</div><div style="clear: both; padding: 0; margin: 0"></div>', '#value' => '</div><div style="clear: both; padding: 0; margin: 0"></div>',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment