parent
7cf620f3f1
commit
5fe264be6a
|
@ -427,7 +427,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
// update selection info
|
// update selection info
|
||||||
$('.selection-info-count').text(table.selections().size());
|
$('.selection-info-count').text(table.selections().length);
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -470,7 +470,7 @@
|
||||||
|
|
||||||
// update displayed selection counter
|
// update displayed selection counter
|
||||||
var table = new Selection(_this.tables(container).first());
|
var table = new Selection(_this.tables(container).first());
|
||||||
$(container).find('.selection-info-count').text(table.selections().size());
|
$(container).find('.selection-info-count').text(table.selections().length);
|
||||||
};
|
};
|
||||||
|
|
||||||
ActionTable.prototype.beforeRender = function(evt) {
|
ActionTable.prototype.beforeRender = function(evt) {
|
||||||
|
|
|
@ -135,14 +135,15 @@
|
||||||
headers: headers,
|
headers: headers,
|
||||||
context: _this,
|
context: _this,
|
||||||
contentType: contentType,
|
contentType: contentType,
|
||||||
processData: ! isFormData
|
processData: ! isFormData,
|
||||||
|
complete: this.onComplete
|
||||||
});
|
});
|
||||||
|
|
||||||
req.$target = $target;
|
req.$target = $target;
|
||||||
req.url = url;
|
req.url = url;
|
||||||
req.done(this.onResponse);
|
req.done(this.onResponse);
|
||||||
req.fail(this.onFailure);
|
req.fail(this.onFailure);
|
||||||
req.complete(this.onComplete);
|
//req.complete(this.onComplete);
|
||||||
req.autorefresh = autorefresh;
|
req.autorefresh = autorefresh;
|
||||||
req.method = method;
|
req.method = method;
|
||||||
req.action = action;
|
req.action = action;
|
||||||
|
|
Loading…
Reference in New Issue