Browse Source

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)

atkach 11 years ago
parent
commit
eb0fc28f18
1 changed files with 2 additions and 16 deletions
  1. 2 16
      ambari-web/app/utils/hosts.js

+ 2 - 16
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');