diff --git a/core/misc/tabledrag.js b/core/misc/tabledrag.js index f578d4a..347be11 100644 --- a/core/misc/tabledrag.js +++ b/core/misc/tabledrag.js @@ -1,4 +1,4 @@ -(function ($) { +(function ($, Drupal, drupalSettings) { "use strict"; @@ -1244,8 +1244,10 @@ $.extend(Drupal.theme, { return '
 
'; }, tableDragChangedWarning: function () { - return ''; + var changeWarning = Drupal.t('Changes made in this table will not be saved until the form is submitted.'); + Drupal.announce(changeWarning, 'assertive'); + return ''; } }); -})(jQuery); +})(jQuery, Drupal, drupalSettings); \ No newline at end of file