Repository: ambari
Updated Branches:
  refs/heads/trunk 9ed0b549b -> eb0fc28f1


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/eb0fc28f
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/eb0fc28f
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/eb0fc28f

Branch: refs/heads/trunk
Commit: eb0fc28f18d076b092761cb1ee0016e1af391025
Parents: 9ed0b54
Author: atkach <[email protected]>
Authored: Wed Jul 2 15:54:19 2014 +0300
Committer: atkach <[email protected]>
Committed: Wed Jul 2 15:54:19 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/eb0fc28f/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');

Reply via email to