3 * Javascript related to the main view list.
7 Drupal
.behaviors
.viewsUIList
= {
8 attach: function (context
) {
9 $('#ctools-export-ui-list-items thead a').once('views-ajax-processed').each(function() {
10 $(this).click(function() {
11 var query
= $.deparam
.querystring(this.href
);
12 $('#ctools-export-ui-list-form select[name=order]').val(query
['order']);
13 $('#ctools-export-ui-list-form select[name=sort]').val(query
['sort']);
14 $('#ctools-export-ui-list-form input.ctools-auto-submit-click').trigger('click');