summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/tabledrag.js2
-rw-r--r--modules/system/system-behavior.css3
2 files changed, 4 insertions, 1 deletions
diff --git a/misc/tabledrag.js b/misc/tabledrag.js
index 572633dbf..baebfcfd4 100644
--- a/misc/tabledrag.js
+++ b/misc/tabledrag.js
@@ -1167,7 +1167,7 @@ Drupal.theme.prototype.tableDragIndentation = function () {
};
Drupal.theme.prototype.tableDragChangedWarning = function () {
- return '<div class="warning">' + Drupal.theme('tableDragChangedMarker') + ' ' + Drupal.t('Changes made in this table will not be saved until the form is submitted.') + '</div>';
+ return '<div class="tabledrag-changed-warning messages warning">' + Drupal.theme('tableDragChangedMarker') + ' ' + Drupal.t('Changes made in this table will not be saved until the form is submitted.') + '</div>';
};
})(jQuery);
diff --git a/modules/system/system-behavior.css b/modules/system/system-behavior.css
index 9dc63497d..15e65882f 100644
--- a/modules/system/system-behavior.css
+++ b/modules/system/system-behavior.css
@@ -136,6 +136,9 @@ div.tree-child-horizontal {
.tabledrag-toggle-weight {
font-size: 0.9em;
}
+body div.tabledrag-changed-warning {
+ margin-bottom: 0.5em;
+}
/**
* Progress bar