diff --git a/core/modules/views_ui/js/views-admin.js b/core/modules/views_ui/js/views-admin.js index 796512e..f695e77 100644 --- a/core/modules/views_ui/js/views-admin.js +++ b/core/modules/views_ui/js/views-admin.js @@ -1098,14 +1098,12 @@ Drupal.viewsUi.resizeModal = function (e, no_shrink) { }; -Drupal.behaviors.viewsUIhandlerRemoveLink = {}; -Drupal.behaviors.viewsUIhandlerRemoveLink.attach = function(context) { +Drupal.behaviors.viewsUiHandlerRemoveLink = {}; +Drupal.behaviors.viewsUiHandlerRemoveLink.attach = function(context) { var $ = jQuery; - /** - * Handle handler deletion by looking for the hidden checkbox and hiding the - * row. - */ + // Handle handler deletion by looking for the hidden checkbox and hiding the + // row. $('a.views-remove-link', context).once('views-processed').click(function(event) { var id = $(this).attr('id').replace('views-remove-link-', ''); $('#views-row-' + id, context).hide();