ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject incubator-ignite git commit: # ignite-843 Minor fix
Date Thu, 16 Jul 2015 02:52:52 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-843 ecd9ae1fe -> 9c463ccdf


# ignite-843 Minor fix


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

Branch: refs/heads/ignite-843
Commit: 9c463ccdfd56606a39d4fc2426f5437776f04e4f
Parents: ecd9ae1
Author: Andrey <anovikov@gridgain.com>
Authored: Thu Jul 16 09:53:30 2015 +0700
Committer: Andrey <anovikov@gridgain.com>
Committed: Thu Jul 16 09:53:30 2015 +0700

----------------------------------------------------------------------
 modules/web-control-center/nodejs/controllers/admin-controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/9c463ccd/modules/web-control-center/nodejs/controllers/admin-controller.js
----------------------------------------------------------------------
diff --git a/modules/web-control-center/nodejs/controllers/admin-controller.js b/modules/web-control-center/nodejs/controllers/admin-controller.js
index b67d7d9..dc6957a 100644
--- a/modules/web-control-center/nodejs/controllers/admin-controller.js
+++ b/modules/web-control-center/nodejs/controllers/admin-controller.js
@@ -54,7 +54,7 @@ controlCenterModule.controller('adminController', ['$scope', '$http', '$confirm'
 
         user.adminChanging = true;
 
-        $http.post('admin/save', {userId: user._id, adminFlag: !user.admin}).success(
+        $http.post('admin/save', {userId: user._id, adminFlag: user.admin}).success(
             function () {
                 commonFunctions.showInfo('Admin right was successfully toggled for user:
"' + user.username + '"');
 


Mime
View raw message