save point
This commit is contained in:
parent
b1e6b12b71
commit
09053698a1
10 changed files with 64 additions and 26 deletions
|
@ -165,10 +165,11 @@ $(function() {
|
|||
div.find('button[type=reset]').show();
|
||||
});
|
||||
|
||||
$('div.filters form').live('submit', function() {
|
||||
var div = $(this).parents('table.search-wrapper').next();
|
||||
$('div.filterset form').live('submit', function() {
|
||||
var div = $('div.grid:first');
|
||||
var data = $(this).serialize() + '&partial=true';
|
||||
loading(div);
|
||||
$.post(div.attr('url'), $(this).serialize(), function(data) {
|
||||
$.post(div.attr('url'), data, function(data) {
|
||||
div.replaceWith(data);
|
||||
});
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue