ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onechipore...@apache.org
Subject git commit: AMBARI-5258. Installer: 'Undo' button for repo BaseURL does not work. (onechiporenko)
Date Fri, 28 Mar 2014 12:49:51 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk e7e67085e -> c0fc9e758


AMBARI-5258. Installer: 'Undo' button for repo BaseURL does not work. (onechiporenko)


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

Branch: refs/heads/trunk
Commit: c0fc9e7582a7295b3c3a1a6ee3e8ed150c8076ed
Parents: e7e6708
Author: Oleg Nechiporenko <onechiporenko@apache.org>
Authored: Fri Mar 28 14:43:25 2014 +0200
Committer: Oleg Nechiporenko <onechiporenko@apache.org>
Committed: Fri Mar 28 14:49:45 2014 +0200

----------------------------------------------------------------------
 ambari-web/app/controllers/installer.js   | 1 +
 ambari-web/app/views/wizard/step1_view.js | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c0fc9e75/ambari-web/app/controllers/installer.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/installer.js b/ambari-web/app/controllers/installer.js
index b43b0bc..eea9038 100644
--- a/ambari-web/app/controllers/installer.js
+++ b/ambari-web/app/controllers/installer.js
@@ -212,6 +212,7 @@ App.InstallerController = App.WizardController.extend({
                 oses.push({
                   osType: os.OperatingSystems.os_type,
                   baseUrl: latestBaseUrl,
+                  latestBaseUrl: latestBaseUrl,
                   originalLatestBaseUrl: latestBaseUrl,
                   originalBaseUrl: repo.Repositories.base_url,
                   defaultBaseUrl: defaultBaseUrl,

http://git-wip-us.apache.org/repos/asf/ambari/blob/c0fc9e75/ambari-web/app/views/wizard/step1_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/wizard/step1_view.js b/ambari-web/app/views/wizard/step1_view.js
index 75e71fc..9eae51b 100644
--- a/ambari-web/app/views/wizard/step1_view.js
+++ b/ambari-web/app/views/wizard/step1_view.js
@@ -240,6 +240,7 @@ App.WizardStep1View = Em.View.extend({
           os.validation = null;
           os.selected = false;
           targetGroup.set('baseUrl', os.latestBaseUrl);
+          targetGroup.set('latestBaseUrl', os.latestBaseUrl);
           targetGroup.set('undo', targetGroup.get('baseUrl') != targetGroup.get('defaultBaseUrl'));
           targetGroup.set('invalid-error', false);
           targetGroup.set('validation', null);


Mime
View raw message