JS: Fix errors

refs #3813
This commit is contained in:
Florian Strohmaier 2019-06-13 11:36:24 +02:00 committed by Johannes Meyer
parent 7cf620f3f1
commit 5fe264be6a
2 changed files with 5 additions and 4 deletions

View File

@ -427,7 +427,7 @@
});
// update selection info
$('.selection-info-count').text(table.selections().size());
$('.selection-info-count').text(table.selections().length);
return false;
};
@ -470,7 +470,7 @@
// update displayed selection counter
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) {

View File

@ -135,14 +135,15 @@
headers: headers,
context: _this,
contentType: contentType,
processData: ! isFormData
processData: ! isFormData,
complete: this.onComplete
});
req.$target = $target;
req.url = url;
req.done(this.onResponse);
req.fail(this.onFailure);
req.complete(this.onComplete);
//req.complete(this.onComplete);
req.autorefresh = autorefresh;
req.method = method;
req.action = action;