client/search: fix dangling 'no data to show'

Concerned only endless scroll
This commit is contained in:
rr- 2016-09-10 11:15:43 +02:00
parent ad87506044
commit 19eea226a6
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,7 @@ class EndlessPageView {
this._working = 0; this._working = 0;
this._init = false; this._init = false;
this.clearMessages();
views.emptyContent(this._pagesHolderNode); views.emptyContent(this._pagesHolderNode);
this.threshold = window.innerHeight / 3; this.threshold = window.innerHeight / 3;
@ -165,6 +166,10 @@ class EndlessPageView {
return pageNode; return pageNode;
} }
clearMessages() {
views.clearMessages(this._hostNode);
}
showSuccess(message) { showSuccess(message) {
views.showSuccess(this._hostNode, message); views.showSuccess(this._hostNode, message);
} }