Эх сурвалжийг харах

HUE-8103 [dashboard] Dragging a top widget to the top widget bar shouldn't create a Gridster widget

Enrico Berti 7 жил өмнө
parent
commit
50519babe2

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

@@ -4484,7 +4484,7 @@ $(document).ready(function () {
     })
   });
 
-  $('#searchComponents').parents('.embeddable').droppable({
+  $('#searchComponents .dashboard').droppable({
     accept: '.draggable-widget, .draggableText, .card-widget',
     drop: function( event, ui ) {
       if (searchViewModel.isGridster() && !searchViewModel.isQueryBuilder()) {