ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onechipore...@apache.org
Subject ambari git commit: AMBARI-13293. Ambari Web: Set/change the timezone (onechiporenko)
Date Fri, 02 Oct 2015 12:55:09 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 9286b1c02 -> 3fbdd9d6e


AMBARI-13293. Ambari Web: Set/change the timezone (onechiporenko)


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

Branch: refs/heads/trunk
Commit: 3fbdd9d6e093e972d16eb865e504662f328fa5bf
Parents: 9286b1c
Author: Oleg Nechiporenko <onechiporenko@apache.org>
Authored: Fri Oct 2 15:38:19 2015 +0300
Committer: Oleg Nechiporenko <onechiporenko@apache.org>
Committed: Fri Oct 2 15:54:55 2015 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/global/user_settings_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3fbdd9d6/ambari-web/app/controllers/global/user_settings_controller.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/global/user_settings_controller.js b/ambari-web/app/controllers/global/user_settings_controller.js
index e05dfe4..1748ea2 100644
--- a/ambari-web/app/controllers/global/user_settings_controller.js
+++ b/ambari-web/app/controllers/global/user_settings_controller.js
@@ -113,7 +113,7 @@ App.UserSettingsController = Em.Controller.extend(App.UserPref, {
     var self = this;
     Object.keys(keys).forEach(function (key) {
       if (Em.isNone(response[keys[key].name])) {
-        self.postUserPref(keys[key].name, keys[key].defaultValue);
+        self.postUserPref(key, keys[key].defaultValue);
       }
     });
   },


Mime
View raw message