ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: GNITE-843 Fixed save metadata.
Date Thu, 14 Jan 2016 03:55:51 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc2 49bf1929c -> d7c927a2d


GNITE-843 Fixed save metadata.


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

Branch: refs/heads/ignite-843-rc2
Commit: d7c927a2d338e193bc5224f21cfa820f1db77eca
Parents: 49bf192
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Thu Jan 14 10:56:02 2016 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Thu Jan 14 10:56:02 2016 +0700

----------------------------------------------------------------------
 .../src/main/js/controllers/metadata-controller.js                 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/d7c927a2/modules/control-center-web/src/main/js/controllers/metadata-controller.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/controllers/metadata-controller.js b/modules/control-center-web/src/main/js/controllers/metadata-controller.js
index 7303ae6..6e710eb 100644
--- a/modules/control-center-web/src/main/js/controllers/metadata-controller.js
+++ b/modules/control-center-web/src/main/js/controllers/metadata-controller.js
@@ -1119,7 +1119,7 @@ consoleModule.controller('metadataController', function ($filter, $http,
$timeou
                 .success(function (res) {
                     $scope.ui.markPristine();
 
-                    var savedMeta = res[0];
+                    var savedMeta = res.savedMetas[0];
 
                     var idx = _.findIndex($scope.metadatas, function (metadata) {
                         return metadata._id === savedMeta._id;


Mime
View raw message