NIFI-259:
- Ensuring component state is sorted accordingly when loaded in the table.


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/c18f75c5
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/c18f75c5
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/c18f75c5

Branch: refs/heads/master
Commit: c18f75c59707cc1e4165a8906ec849f55d50eb76
Parents: f6ec437
Author: Matt Gilman <matt.c.gil...@gmail.com>
Authored: Thu Jan 21 11:25:17 2016 -0500
Committer: Matt Gilman <matt.c.gil...@gmail.com>
Committed: Thu Jan 21 11:25:17 2016 -0500

----------------------------------------------------------------------
 .../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-component-state.js  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/c18f75c5/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-component-state.js
----------------------------------------------------------------------
diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-component-state.js
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-component-state.js
index 78a36bf..769256c 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-component-state.js
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-component-state.js
@@ -161,6 +161,7 @@ nf.ComponentState = (function () {
 
         // complete the update
         componentStateData.endUpdate();
+        componentStateData.reSort();
 
         // update the total number of state entries
         $('#total-component-state-entries').text(count);

Reply via email to