Loading bootstrap_barrio.info.yml +0 −2 Original line number Diff line number Diff line Loading @@ -12,8 +12,6 @@ libraries-extend: - bootstrap_barrio/dropbutton file/drupal.file: - bootstrap_barrio/file views/views.ajax: - bootstrap_barrio/views.ajax node/drupal.node.preview: - bootstrap_barrio/drupal.node.preview Loading js/modules/views/ajax_view.jsdeleted 100644 → 0 +0 −24 Original line number Diff line number Diff line /** * @file * Extends core ajax_view.js. */ (function ($, Drupal) { 'use strict'; /** * @method */ Drupal.views.ajaxView.prototype.attachExposedFormAjax = function () { var that = this; this.exposedFormAjax = []; $('button[type=submit], input[type=submit], input[type=image]', this.$exposed_form).not('[data-drupal-selector=edit-reset]').each(function (index) { var self_settings = $.extend({}, that.element_settings, { base: $(this).attr('id'), element: this }); that.exposedFormAjax[index] = Drupal.ajax(self_settings); }); }; })(jQuery, Drupal); Loading
bootstrap_barrio.info.yml +0 −2 Original line number Diff line number Diff line Loading @@ -12,8 +12,6 @@ libraries-extend: - bootstrap_barrio/dropbutton file/drupal.file: - bootstrap_barrio/file views/views.ajax: - bootstrap_barrio/views.ajax node/drupal.node.preview: - bootstrap_barrio/drupal.node.preview Loading
js/modules/views/ajax_view.jsdeleted 100644 → 0 +0 −24 Original line number Diff line number Diff line /** * @file * Extends core ajax_view.js. */ (function ($, Drupal) { 'use strict'; /** * @method */ Drupal.views.ajaxView.prototype.attachExposedFormAjax = function () { var that = this; this.exposedFormAjax = []; $('button[type=submit], input[type=submit], input[type=image]', this.$exposed_form).not('[data-drupal-selector=edit-reset]').each(function (index) { var self_settings = $.extend({}, that.element_settings, { base: $(this).attr('id'), element: this }); that.exposedFormAjax[index] = Drupal.ajax(self_settings); }); }; })(jQuery, Drupal);