Révision b08fce64
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/views/js/ajax_view.js | ||
---|---|---|
60 | 60 |
this.$exposed_form = $('#views-exposed-form-'+ settings.view_name.replace(/_/g, '-') + '-' + settings.view_display_id.replace(/_/g, '-')); |
61 | 61 |
this.$exposed_form.once(jQuery.proxy(this.attachExposedFormAjax, this)); |
62 | 62 |
|
63 |
// Store Drupal.ajax objects here for all pager links. |
|
64 |
this.links = []; |
|
65 |
|
|
63 | 66 |
// Add the ajax to pagers. |
64 | 67 |
this.$view |
65 | 68 |
// Don't attach to nested views. Doing so would attach multiple behaviors |
... | ... | |
123 | 126 |
|
124 | 127 |
this.element_settings.submit = viewData; |
125 | 128 |
this.pagerAjax = new Drupal.ajax(false, $link, this.element_settings); |
129 |
this.links.push(this.pagerAjax); |
|
126 | 130 |
}; |
127 | 131 |
|
128 | 132 |
Drupal.ajax.prototype.commands.viewsScrollTop = function (ajax, response, status) { |
Formats disponibles : Unified diff
Weekly update of contrib modules