فهرست منبع

HUE-8625 [editor] Prevent js exception when dragging from top search to the editor after visiting the importer

Johan Ahlen 7 سال پیش
والد
کامیت
6e4c9cb796
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      desktop/libs/indexer/src/indexer/templates/importer.mako

+ 2 - 2
desktop/libs/indexer/src/indexer/templates/importer.mako

@@ -136,7 +136,7 @@ ${ assist.assistPanel() }
         </div>
         <div class="resizer" data-bind="visible: $root.isLeftPanelVisible() && $root.assistAvailable(), splitDraggable : { appName: 'notebook', leftPanelVisible: $root.isLeftPanelVisible }"><div class="resize-bar">&nbsp;</div></div>
         %endif
-        <div class="content-panel">
+        <div class="content-panel importer-droppable">
           <div class="content-panel-inner">
           <!-- ko template: 'create-index-wizard' --><!-- /ko -->
           </div>
@@ -2886,7 +2886,7 @@ ${ assist.assistPanel() }
 
       $(window).on('resize', resizeElements);
 
-      $('.content-panel').droppable({
+      $('.importer-droppable').droppable({
         accept: ".draggableText",
         drop: function (e, ui) {
           var text = ui.helper.text();