# 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-1121
Commit: 9c463ccdfd56606a39d4fc2426f5437776f04e4f
Parents: ecd9ae1
Author: Andrey <anovi...@gridgain.com>
Authored: Thu Jul 16 09:53:30 2015 +0700
Committer: Andrey <anovi...@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 + '"');
 

Reply via email to