Commit d3f88a87 authored by webchick's avatar webchick

Issue #1272990 by mgifford, Everett Zufelt: Fixed Make tabledrag warning...

Issue #1272990 by mgifford, Everett Zufelt: Fixed Make tabledrag warning message show when row weights are enabled, and add WAI-ARIA live region.
parent 38e9b30c
......@@ -1244,7 +1244,7 @@ $.extend(Drupal.theme, {
return '<div class="indentation">&nbsp;</div>';
},
tableDragChangedWarning: function () {
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>';
return '<div class="tabledrag-changed-warning messages warning" role="alert">' + Drupal.theme('tableDragChangedMarker') + ' ' + Drupal.t('Changes made in this table will not be saved until the form is submitted.') + '</div>';
}
});
......
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