فهرست منبع

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

Enrico Berti 7 سال پیش
والد
کامیت
50519babe2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      desktop/libs/dashboard/src/dashboard/templates/common_search.mako

+ 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()) {