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-16832. Clicking on next button on Select Version page makes it slide up and down (onechiporenko)
Date Tue, 31 May 2016 11:27:07 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk aec5194eb -> 6119a6457


AMBARI-16832. Clicking on next button on Select Version page makes it slide up and down (onechiporenko)


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

Branch: refs/heads/trunk
Commit: 6119a64570e7f2e81b3bd67280a0ee723591e9b9
Parents: aec5194
Author: Oleg Nechiporenko <onechiporenko@apache.org>
Authored: Tue May 31 13:57:03 2016 +0300
Committer: Oleg Nechiporenko <onechiporenko@apache.org>
Committed: Tue May 31 13:57:03 2016 +0300

----------------------------------------------------------------------
 ambari-web/app/controllers/installer.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/6119a645/ambari-web/app/controllers/installer.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/installer.js b/ambari-web/app/controllers/installer.js
index 3792d8a..36dcfb3 100644
--- a/ambari-web/app/controllers/installer.js
+++ b/ambari-web/app/controllers/installer.js
@@ -434,6 +434,9 @@ App.InstallerController = App.WizardController.extend({
     Em.assert('Stack model is not populated', stacks.get('length'));
     App.db.setStacks(stacks.slice());
     this.set('content.stacks', stacks);
+    App.OperatingSystem.find().filterProperty('isSelected', false).forEach(function (os)
{
+      App.serviceMapper.deleteRecord(os);
+    });
     var repos = App.Repository.find() || [];
     App.db.setRepos(repos.slice());
   },


Mime
View raw message