Skip to content

Commit

Permalink
(#98) Avoid table clearance on load of zero log entries
Browse files Browse the repository at this point in the history
  • Loading branch information
AFaust committed Nov 26, 2017
1 parent 7a1e9db commit 8285775
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions share/src/main/amp/web/ootbee-support-tools/list/LogList.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,11 @@ define([ 'dojo/_base/declare', 'alfresco/lists/AlfList', 'dojo/_base/lang', 'alf
this.pendingLoadRequest = false;
this.loadData();
}
else if (payload.response.events.length === 0)
{
this.hideLoadingMessage();
this.alfPublish(this.requestFinishedTopic, {});
}
else
{
this.currentData = {};
Expand Down

0 comments on commit 8285775

Please sign in to comment.