diff --git a/core/modules/views_ui/js/views-admin.js b/core/modules/views_ui/js/views-admin.js index 761185e..f7b0ec8 100644 --- a/core/modules/views_ui/js/views-admin.js +++ b/core/modules/views_ui/js/views-admin.js @@ -520,6 +520,7 @@ var group = this.$controlGroup.val(); // Search through the search texts in the form for matching text. + var areActive = 0; this.options.forEach(function (option) { function hasWord(word) { return option.searchText.indexOf(word) !== -1; @@ -536,10 +537,18 @@ } option.$div.toggle(found); + areActive += found; }); // Adapt dialog to content size. $(event.target).trigger('dialogContentResize'); + + Drupal.announce( + Drupal.t( + '!views views are available in the modified list.', + {'!views': areActive} + ) + ); } });