WIP: Aureplop/kpsul js refactor #501
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,6 @@ class KHistory {
|
||||||
}
|
}
|
||||||
|
|
||||||
fetch(api_options) {
|
fetch(api_options) {
|
||||||
this._$container.html('');
|
|
||||||
this.list.clear();
|
this.list.clear();
|
||||||
|
|
||||||
if (api_options)
|
if (api_options)
|
||||||
|
@ -53,6 +52,7 @@ class KHistory {
|
||||||
}
|
}
|
||||||
|
|
||||||
display() {
|
display() {
|
||||||
|
this._$container.html('');
|
||||||
this.list.display(this._$container, this.templates, {});
|
this.list.display(this._$container, this.templates, {});
|
||||||
var nb_opes = this._$container.find('.ope[canceled="false"]').length;
|
var nb_opes = this._$container.find('.ope[canceled="false"]').length;
|
||||||
$('#nb_opes').text(nb_opes);
|
$('#nb_opes').text(nb_opes);
|
||||||
|
|
Loading…
Reference in a new issue