diff --git a/core/modules/views/js/base.js b/core/modules/views/js/base.js index b84a4227ace..5cb7e5ed774 100644 --- a/core/modules/views/js/base.js +++ b/core/modules/views/js/base.js @@ -8,38 +8,6 @@ Drupal.Views = {}; - /** - * jQuery UI tabs, Views integration component - */ - Drupal.behaviors.viewsTabs = { - attach: function () { - if ($.viewsUi && $.viewsUi.tabs) { - $('#views-tabset').once('views-processed').viewsTabs({ - selectedClass: 'active' - }); - } - - $('a.views-remove-link').once('views-processed').click(function(event) { - var id = $(this).attr('id').replace('views-remove-link-', ''); - $('#views-row-' + id).hide(); - $('#views-removed-' + id).attr('checked', true); - event.preventDefault(); - }); - /** - * Here is to handle display deletion - * (checking in the hidden checkbox and hiding out the row) - */ - $('a.display-remove-link') - .addClass('display-processed') - .click(function() { - var id = $(this).attr('id').replace('display-remove-link-', ''); - $('#display-row-' + id).hide(); - $('#display-removed-' + id).attr('checked', true); - event.preventDefault(); - }); - } - }; - /** * Helper function to parse a querystring. */