Browse Source

HUE-8270 [dashboard] Re-start the scrollbar removal interval on assist drag stop

Enrico Berti 7 years ago
parent
commit
e7fe322c0d

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

@@ -4282,6 +4282,10 @@ $(document).ready(function () {
     }
     }
   }, 'dashboard');
   }, 'dashboard');
 
 
+  huePubSub.subscribe('draggable.text.stopped', function (options) {
+    isDraggingOrResizingWidgets = false;
+  }, 'dashboard');
+
   huePubSub.subscribe('dashboard.gridster.widget.drag', function (options) {
   huePubSub.subscribe('dashboard.gridster.widget.drag', function (options) {
     movePreviewHolder(options);
     movePreviewHolder(options);
   }, 'dashboard');
   }, 'dashboard');