Browse Source

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

Enrico Berti 7 years ago
parent
commit
e7fe322c0d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      desktop/libs/dashboard/src/dashboard/templates/common_search.mako

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

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