ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject ignite git commit: IGNITE-1687 Minor improvement
Date Tue, 20 Oct 2015 03:42:35 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc1 432e5566b -> 3507435e3


IGNITE-1687 Minor improvement


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

Branch: refs/heads/ignite-843-rc1
Commit: 3507435e3163aca5834f6b35d3a5bf83e6b1aaa7
Parents: 432e556
Author: Andrey <anovikov@gridgain.com>
Authored: Tue Oct 20 10:42:53 2015 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Tue Oct 20 10:42:53 2015 +0700

----------------------------------------------------------------------
 .../control-center-web/src/main/js/controllers/sql-controller.js   | 2 +-
 modules/control-center-web/src/main/js/routes/agent.js             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/3507435e/modules/control-center-web/src/main/js/controllers/sql-controller.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/controllers/sql-controller.js b/modules/control-center-web/src/main/js/controllers/sql-controller.js
index 0ea1be8..fe341b3 100644
--- a/modules/control-center-web/src/main/js/controllers/sql-controller.js
+++ b/modules/control-center-web/src/main/js/controllers/sql-controller.js
@@ -1125,7 +1125,7 @@ consoleModule.controller('sqlController',
     };
 
     $scope.dblclickMetadata = function (paragraph, node) {
-        paragraph.ace.insert(node.name);
+        paragraph.ace.insert(node.type == 'type' ? node.fullName : node.name);
         var position = paragraph.ace.selection.getCursor();
 
         paragraph.query = paragraph.ace.getValue();

http://git-wip-us.apache.org/repos/asf/ignite/blob/3507435e/modules/control-center-web/src/main/js/routes/agent.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/routes/agent.js b/modules/control-center-web/src/main/js/routes/agent.js
index 3c6c55d..2d7fcfe 100644
--- a/modules/control-center-web/src/main/js/routes/agent.js
+++ b/modules/control-center-web/src/main/js/routes/agent.js
@@ -239,7 +239,7 @@ router.post('/cache/metadata', function (req, res) {
                 if (indexes.length > 0)
                     columns = columns.concat({type: 'indexes', name: 'Indexes', fullName:
typeName + '.indexes', children: indexes });
 
-                return {type: 'type', name: typeName, fullName: req.body.cacheName + '.'
+typeName,  children: columns };
+                return {type: 'type', name: typeName, fullName: '"' + req.body.cacheName
+ '".' +typeName,  children: columns };
             });
 
             res.json(tables);


Mime
View raw message