Repository: nifi Updated Branches: refs/heads/NIFI-108 42c964f09 -> 571ee960a
NIFI-108: - Reseting the queue stats when closing the listing table. Project: http://git-wip-us.apache.org/repos/asf/nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/571ee960 Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/571ee960 Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/571ee960 Branch: refs/heads/NIFI-108 Commit: 571ee960aa3a4ac5d58b79504b5888c15c52b121 Parents: 42c964f Author: Matt Gilman <matt.c.gil...@gmail.com> Authored: Tue Dec 22 09:40:49 2015 -0500 Committer: Matt Gilman <matt.c.gil...@gmail.com> Committed: Tue Dec 22 09:40:49 2015 -0500 ---------------------------------------------------------------------- .../src/main/webapp/js/nf/canvas/nf-queue-listing.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi/blob/571ee960/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-queue-listing.js ---------------------------------------------------------------------- diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-queue-listing.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-queue-listing.js index 3f17a3b..e3c1009 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-queue-listing.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-queue-listing.js @@ -146,10 +146,6 @@ nf.QueueListing = (function () { $('#flowfile-attributes-container').empty(); $('#flowfile-cluster-node-id').text(''); $('#additional-flowfile-details').empty(); - - // reset stats - $('#displayed-flowfiles, #total-flowfiles-count').text('0'); - $('#total-flowfiles-size').text(nf.Common.formatDataSize(0)); } } }).draggable({ @@ -558,6 +554,10 @@ nf.QueueListing = (function () { queueListingData.setItems([], 'uuid'); queueListingData.endUpdate(); } + + // reset stats + $('#displayed-flowfiles, #total-flowfiles-count').text('0'); + $('#total-flowfiles-size').text(nf.Common.formatDataSize(0)); }); // adjust the table size