diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-10-20 16:19:24 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-10-20 16:19:24 +0000 |
commit | 4a187d271bcab4c5eead39a9d303722e216bcb5e (patch) | |
tree | 3189324122a400ae5ef90bf50fdcaf0bb0d1cb1b /modules/field_ui | |
parent | 816752c5f907ccd3c7b72c230fba7031076f4723 (diff) | |
download | brdo-4a187d271bcab4c5eead39a9d303722e216bcb5e.tar.gz brdo-4a187d271bcab4c5eead39a9d303722e216bcb5e.tar.bz2 |
#936536 by rszrama, sun, yched: Fixed Missing #empty_option on a couple selects.
Diffstat (limited to 'modules/field_ui')
-rw-r--r-- | modules/field_ui/field_ui.admin.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/field_ui/field_ui.admin.inc b/modules/field_ui/field_ui.admin.inc index 8db42d697..ffa7330f6 100644 --- a/modules/field_ui/field_ui.admin.inc +++ b/modules/field_ui/field_ui.admin.inc @@ -338,6 +338,7 @@ function field_ui_field_overview_form($form, &$form_state, $entity_type, $bundle '#title' => t('Parent for @title', array('@title' => $instance['label'])), '#title_display' => 'invisible', '#options' => $table['#parent_options'], + '#empty_value' => '', '#attributes' => array('class' => array('field-parent')), '#parents' => array('fields', $name, 'parent'), ), @@ -406,6 +407,7 @@ function field_ui_field_overview_form($form, &$form_state, $entity_type, $bundle '#title' => t('Parent for @title', array('@title' => $extra_field['label'])), '#title_display' => 'invisible', '#options' => $table['#parent_options'], + '#empty_value' => '', '#attributes' => array('class' => array('field-parent')), '#parents' => array('fields', $name, 'parent'), ), @@ -465,6 +467,7 @@ function field_ui_field_overview_form($form, &$form_state, $entity_type, $bundle '#title' => t('Parent for new field'), '#title_display' => 'invisible', '#options' => $table['#parent_options'], + '#empty_value' => '', '#attributes' => array('class' => array('field-parent')), '#prefix' => '<div class="add-new-placeholder"> </div>', '#parents' => array('fields', $name, 'parent'), @@ -544,6 +547,7 @@ function field_ui_field_overview_form($form, &$form_state, $entity_type, $bundle '#title' => t('Parent for existing field'), '#title_display' => 'invisible', '#options' => $table['#parent_options'], + '#empty_value' => '', '#attributes' => array('class' => array('field-parent')), '#prefix' => '<div class="add-new-placeholder"> </div>', '#parents' => array('fields', $name, 'parent'), @@ -916,6 +920,7 @@ function field_ui_display_overview_form($form, &$form_state, $entity_type, $bund '#title' => t('Label display for @title', array('@title' => $instance['label'])), '#title_display' => 'invisible', '#options' => $table['#parent_options'], + '#empty_value' => '', '#attributes' => array('class' => array('field-parent')), '#parents' => array('fields', $name, 'parent'), ), @@ -1077,6 +1082,7 @@ function field_ui_display_overview_form($form, &$form_state, $entity_type, $bund '#title' => t('Parents for @title', array('@title' => $extra_field['label'])), '#title_display' => 'invisible', '#options' => $table['#parent_options'], + '#empty_value' => '', '#attributes' => array('class' => array('field-parent')), '#parents' => array('fields', $name, 'parent'), ), |