Selaa lähdekoodia

HUE-7949 [dashboard] Remove the fake drop zone when dragging a Gridster widget

Enrico Berti 7 vuotta sitten
vanhempi
commit
e13c57150a

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

@@ -3783,6 +3783,7 @@ $(document).ready(function () {
     },
     },
     draggable: {
     draggable: {
       handle: 'h2',
       handle: 'h2',
+      start: removePreviewHolder,
       stop: function (e, ui, $widget) {
       stop: function (e, ui, $widget) {
         huePubSub.publish('gridster.clean.whitespace');
         huePubSub.publish('gridster.clean.whitespace');
       }
       }