Commit f5f5538d by Qiang Xue

Reverted the change to gridview regarding filter submission.

parent 8ecceb39
...@@ -57,13 +57,7 @@ ...@@ -57,13 +57,7 @@
} else { } else {
url += '?' + data; url += '?' + data;
} }
var $filterLink = $('.gridview-filter-link', $e); window.location.href = url;
if (!$filterLink.length) {
$filterLink = $('<a href="" style="display:none" class="gridview-filter-link"></a>');
$e.append($filterLink);
}
// use link clicking so that pjax can work by default
$filterLink.prop('href', url).click();
return false; return false;
}); });
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment