ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: IGNITE-843 Fixed undefined on project structure popup.
Date Fri, 12 Feb 2016 10:35:50 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc2 2cc986d4d -> c680addc9


IGNITE-843 Fixed undefined on project structure popup.


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

Branch: refs/heads/ignite-843-rc2
Commit: c680addc9ca527aac4c044c0315ca2950db6b8e3
Parents: 2cc986d
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Fri Feb 12 17:31:13 2016 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Fri Feb 12 17:31:13 2016 +0700

----------------------------------------------------------------------
 .../modules/states/configuration/summary/summary.controller.js   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/c680addc/modules/control-center-web/src/main/js/app/modules/states/configuration/summary/summary.controller.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/app/modules/states/configuration/summary/summary.controller.js
b/modules/control-center-web/src/main/js/app/modules/states/configuration/summary/summary.controller.js
index 34cde53..5f677d9 100644
--- a/modules/control-center-web/src/main/js/app/modules/states/configuration/summary/summary.controller.js
+++ b/modules/control-center-web/src/main/js/app/modules/states/configuration/summary/summary.controller.js
@@ -165,10 +165,8 @@ export default [
 
         function addClass(fullClsName) {
             const path = fullClsName.split('.');
-
-            const folder = getOrCreateFolder(javaFolder, path);
-
             const leaf = {type: 'file', name: path.pop() + '.java'};
+            const folder = getOrCreateFolder(javaFolder, path);
 
             if (!_.find(folder.children, leaf))
                 folder.children.push(leaf);


Mime
View raw message