Repository: ambari Updated Branches: refs/heads/branch-2.4 6dfbc0c09 -> 764c951a1
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/764c951a Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/764c951a Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/764c951a Branch: refs/heads/branch-2.4 Commit: 764c951a13e7634a2eb6d63cb1682c655e9f198f Parents: 6dfbc0c Author: Oleg Nechiporenko <[email protected]> Authored: Tue May 31 13:57:03 2016 +0300 Committer: Oleg Nechiporenko <[email protected]> Committed: Tue May 31 14:33:13 2016 +0300 ---------------------------------------------------------------------- ambari-web/app/controllers/installer.js | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/764c951a/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()); },
