From 4a187d271bcab4c5eead39a9d303722e216bcb5e Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Wed, 20 Oct 2010 16:19:24 +0000 Subject: #936536 by rszrama, sun, yched: Fixed Missing #empty_option on a couple selects. --- modules/field_ui/field_ui.admin.inc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/field_ui') 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' => '
 
', '#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' => '
 
', '#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'), ), -- cgit v1.2.3