Repository: ambari Updated Branches: refs/heads/branch-2.1 989d34c14 -> 35f2c3956
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/35f2c395 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/35f2c395 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/35f2c395 Branch: refs/heads/branch-2.1 Commit: 35f2c39565826efc51726d69f838e3db4b0a7126 Parents: 989d34c Author: Oleg Nechiporenko <onechipore...@apache.org> Authored: Fri Oct 2 15:38:19 2015 +0300 Committer: Oleg Nechiporenko <onechipore...@apache.org> Committed: Fri Oct 2 15:38:19 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/35f2c395/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); } }); },