From 8285775a015c0a24836d4cc0305feb25d5cff0ef Mon Sep 17 00:00:00 2001 From: AFaust Date: Sun, 26 Nov 2017 17:38:08 +0100 Subject: [PATCH] (#98) Avoid table clearance on load of zero log entries --- share/src/main/amp/web/ootbee-support-tools/list/LogList.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/share/src/main/amp/web/ootbee-support-tools/list/LogList.js b/share/src/main/amp/web/ootbee-support-tools/list/LogList.js index dd50e4be..939bb195 100644 --- a/share/src/main/amp/web/ootbee-support-tools/list/LogList.js +++ b/share/src/main/amp/web/ootbee-support-tools/list/LogList.js @@ -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 = {};