Return-Path: X-Original-To: apmail-ambari-commits-archive@www.apache.org Delivered-To: apmail-ambari-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6E24511E05 for ; Wed, 2 Jul 2014 13:02:05 +0000 (UTC) Received: (qmail 20518 invoked by uid 500); 2 Jul 2014 13:02:05 -0000 Delivered-To: apmail-ambari-commits-archive@ambari.apache.org Received: (qmail 20485 invoked by uid 500); 2 Jul 2014 13:02:05 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 20467 invoked by uid 99); 2 Jul 2014 13:02:05 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2014 13:02:05 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id F1A7A9933EE; Wed, 2 Jul 2014 13:02:04 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: atkach@apache.org To: commits@ambari.apache.org Message-Id: <21537f3ce51b44a5bb80858ba40ba313@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: 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) Date: Wed, 2 Jul 2014 13:02:04 +0000 (UTC) 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 Authored: Wed Jul 2 16:01:13 2014 +0300 Committer: atkach 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');