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-2519 Fixed.
Date Mon, 01 Feb 2016 10:55:43 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc2 5f0e80d6c -> ea39814b0


IGNITE-2519 Fixed.


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

Branch: refs/heads/ignite-843-rc2
Commit: ea39814b090ab0b7cbf6172d8277ce9b54d03673
Parents: 5f0e80d
Author: vsisko <vsisko@gridgain.com>
Authored: Mon Feb 1 17:55:39 2016 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Mon Feb 1 17:55:39 2016 +0700

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


http://git-wip-us.apache.org/repos/asf/ignite/blob/ea39814b/modules/control-center-web/src/main/js/controllers/domains-controller.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/controllers/domains-controller.js b/modules/control-center-web/src/main/js/controllers/domains-controller.js
index c78cbd4..7b41614 100644
--- a/modules/control-center-web/src/main/js/controllers/domains-controller.js
+++ b/modules/control-center-web/src/main/js/controllers/domains-controller.js
@@ -729,8 +729,8 @@ consoleModule.controller('domainsController', function ($filter, $http,
$timeout
                         var lastItem;
                         var newItems = [];
 
-                        _.forEach(savedBatch.generatedCaches, function (generatedCache) {
-                            $scope.caches.push(generatedCache);
+                        _.forEach(_mapCaches(savedBatch.generatedCaches), function(cache)
{
+                            $scope.caches.push(cache);
                         });
 
                         _.forEach(savedBatch.savedDomains, function (savedItem) {

http://git-wip-us.apache.org/repos/asf/ignite/blob/ea39814b/modules/control-center-web/src/main/js/routes/domains.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/routes/domains.js b/modules/control-center-web/src/main/js/routes/domains.js
index e52f7ee..8de7bc8 100644
--- a/modules/control-center-web/src/main/js/routes/domains.js
+++ b/modules/control-center-web/src/main/js/routes/domains.js
@@ -167,7 +167,7 @@ function _save(domains, res) {
                                     db.Cluster.update({_id: {$in: cache.clusters}}, {$addToSet:
{caches: cacheId}}, {multi: true}, function (err) {
                                         if (db.processed(err, res)) {
                                             domain.caches = [cacheId];
-                                            generatedCaches.push({ value: cacheId, label:
cache.name });
+                                            generatedCaches.push(cache);
 
                                             _saveDomainModel(domain, savedDomains, callback);
                                         }


Mime
View raw message