ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject incubator-ignite git commit: IGNITE-843 Fixed metadata remove.
Date Tue, 21 Jul 2015 06:53:37 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-843 2030dfb8f -> 53cd4b373


IGNITE-843 Fixed metadata remove.


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

Branch: refs/heads/ignite-843
Commit: 53cd4b3735d2b3ac993c543831a0984999979ed8
Parents: 2030dfb
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Tue Jul 21 13:53:33 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Tue Jul 21 13:53:33 2015 +0700

----------------------------------------------------------------------
 .../web-control-center/nodejs/controllers/metadata-controller.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/53cd4b37/modules/web-control-center/nodejs/controllers/metadata-controller.js
----------------------------------------------------------------------
diff --git a/modules/web-control-center/nodejs/controllers/metadata-controller.js b/modules/web-control-center/nodejs/controllers/metadata-controller.js
index bf08194..eb48494 100644
--- a/modules/web-control-center/nodejs/controllers/metadata-controller.js
+++ b/modules/web-control-center/nodejs/controllers/metadata-controller.js
@@ -254,7 +254,7 @@ controlCenterModule.controller('metadataController', ['$scope', '$http',
'$commo
                 }]
         };
 
-        $scope.metadata = [];
+        $scope.metadatas = [];
 
         $http.get('/models/metadata.json')
             .success(function (data) {
@@ -392,7 +392,7 @@ controlCenterModule.controller('metadataController', ['$scope', '$http',
'$commo
                             });
 
                             if (idx >= 0) {
-                                metadatas.splice(i, idx);
+                                metadatas.splice(idx, 1);
 
                                 if (metadatas.length > 0)
                                     $scope.selectItem(metadatas[0]);


Mime
View raw message