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