Browse Source

HUE-8278 [dashboard] Enable grid results field list resizer on Gridster too

Enrico Berti 7 years ago
parent
commit
6b4875da0a

+ 2 - 4
desktop/libs/dashboard/src/dashboard/templates/common_search.mako

@@ -3793,10 +3793,8 @@ function resizeFieldsListCallback() {
 
 
 var resizeTimeout = -1;
 var resizeTimeout = -1;
 function resizeFieldsListThrottled() {
 function resizeFieldsListThrottled() {
-  if (!searchViewModel.isGridster()) {
-    window.clearTimeout(resizeTimeout);
-    resizeTimeout = window.setTimeout(resizeFieldsListCallback, 200);
-  }
+  window.clearTimeout(resizeTimeout);
+  resizeTimeout = window.setTimeout(resizeFieldsListCallback, 200);
 }
 }
 
 
 function resizeFieldsList() {
 function resizeFieldsList() {