Repository: ambari Updated Branches: refs/heads/branch-1.6.1 293b183b7 -> f06dd6184
AMBARI-6352 Configuration Group host selection popup: IP address column shows empty on initial load, unless you start typing in the IP address column. (atkach) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/f06dd618 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/f06dd618 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/f06dd618 Branch: refs/heads/branch-1.6.1 Commit: f06dd61846a3af506365f8b51384311cc362c086 Parents: 293b183 Author: atkach <[email protected]> Authored: Wed Jul 2 16:01:13 2014 +0300 Committer: atkach <[email protected]> Committed: Wed Jul 2 16:01:13 2014 +0300 ---------------------------------------------------------------------- ambari-web/app/utils/hosts.js | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/f06dd618/ambari-web/app/utils/hosts.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/utils/hosts.js b/ambari-web/app/utils/hosts.js index 2f2f43b..d66aa0b 100644 --- a/ambari-web/app/utils/hosts.js +++ b/ambari-web/app/utils/hosts.js @@ -101,23 +101,9 @@ module.exports = { didInsertElement: function(){ var defaultFilterColumn = this.get('filterColumns').findProperty('selected'); this.set('filterColumn', defaultFilterColumn); - this.initContent(); - }, - initContent: function () { initialHosts.setEach('filtered', true); - if (initialHosts.length > 100) { - lazyloading.run({ - destination: this.get('parentView.availableHosts'), - source: initialHosts, - context: this.get('parentView'), - initSize: 50, - chunkSize: 100, - delay: 50 - }); - } else { - this.set('parentView.availableHosts', initialHosts); - this.set('parentView.isLoaded', true); - } + this.set('parentView.availableHosts', initialHosts); + this.set('parentView.isLoaded', true); }, filterHosts: function () { var filterText = this.get('filterText');
