summaryrefslogtreecommitdiff
path: root/modules/field_ui
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-13 23:46:02 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-13 23:46:02 +0000
commitf6c1d1f16f00efcb5f02dc5573764ddfd60a49c9 (patch)
tree478c0ae84d2407501880040761a1ff5597642a65 /modules/field_ui
parente45e8b2abe3f5906bbc3418e4d20827e443cc410 (diff)
downloadbrdo-f6c1d1f16f00efcb5f02dc5573764ddfd60a49c9.tar.gz
brdo-f6c1d1f16f00efcb5f02dc5573764ddfd60a49c9.tar.bz2
#938672 by Jeff Burnz: Stop thousands of red Xs from appearing on field UI error.
Diffstat (limited to 'modules/field_ui')
-rw-r--r--modules/field_ui/field_ui.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/field_ui/field_ui.admin.inc b/modules/field_ui/field_ui.admin.inc
index 3ba38d81b..3dc65e1dc 100644
--- a/modules/field_ui/field_ui.admin.inc
+++ b/modules/field_ui/field_ui.admin.inc
@@ -1438,7 +1438,7 @@ function field_ui_field_settings_form($form, &$form_state, $instance) {
// If so, prevent changes to the field settings.
$has_data = field_has_data($field);
if ($has_data) {
- $form['field']['#description'] = '<div class=error>' . t('There is data for this field in the database. The field settings can no longer be changed.' . '</div>') . $form['field']['#description'];
+ $form['field']['#description'] = '<div class="messages error">' . t('There is data for this field in the database. The field settings can no longer be changed.' . '</div>') . $form['field']['#description'];
}
// Build the non-configurable field values.