Commit 84a71c36 authored by webchick's avatar webchick

Issue #1893400 follow-up by nod_: REALLY fix autocomplete this time. :P

parent eaf8fc56
...@@ -4101,11 +4101,11 @@ function form_process_autocomplete($element, &$form_state) { ...@@ -4101,11 +4101,11 @@ function form_process_autocomplete($element, &$form_state) {
$element['autocomplete'] = array( $element['autocomplete'] = array(
'#type' => 'hidden', '#type' => 'hidden',
'#input' => FALSE, '#input' => FALSE,
'#id' => $element['#id'] . '-autocomplete',
'#value' => url($element['#autocomplete_path'], array('absolute' => TRUE)), '#value' => url($element['#autocomplete_path'], array('absolute' => TRUE)),
'#disabled' => TRUE, '#disabled' => TRUE,
'#attributes' => array( '#attributes' => array(
'class' => array('autocomplete'), 'class' => array('autocomplete'),
'id' => $element['#id'] . '-autocomplete',
), ),
); );
} }
......
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