Explorar o código

AMBARI-6192 On 'Configure Components' step of HA wizard no hosts is shown in step details window. (Buzhor Denys via ababiichuk)

aBabiichuk %!s(int64=11) %!d(string=hai) anos
pai
achega
2bd0af0813
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      ambari-web/app/views/common/table_view.js

+ 3 - 2
ambari-web/app/views/common/table_view.js

@@ -141,8 +141,9 @@ App.TableView = Em.View.extend(App.UserPref, {
     var displayLengthDefault = this.get('defaultDisplayLength');
     var displayLengthDefault = this.get('defaultDisplayLength');
     this.set('displayLength', displayLengthDefault);
     this.set('displayLength', displayLengthDefault);
     if (App.get('isAdmin')) {
     if (App.get('isAdmin')) {
-      this.postUserPref(this.displayLengthKey(), displayLengthDefault);
+      this.saveDisplayLength();
     }
     }
+    this.filter();
     return displayLengthDefault;
     return displayLengthDefault;
   },
   },
 
 
@@ -464,4 +465,4 @@ App.TableView = Em.View.extend(App.UserPref, {
     });
     });
   }
   }
 
 
-});
+});