You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2015/10/02 23:12:30 UTC

[26/32] ambari git commit: AMBARI-13293. Ambari Web: Set/change the timezone (onechiporenko)

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/branch-dev-patch-upgrade
Commit: 3fbdd9d6e093e972d16eb865e504662f328fa5bf
Parents: 9286b1c
Author: Oleg Nechiporenko <on...@apache.org>
Authored: Fri Oct 2 15:38:19 2015 +0300
Committer: Oleg Nechiporenko <on...@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);
       }
     });
   },