[editor] Draggin a file to the editor should open it instead of redirecting to the file itself
@@ -3059,7 +3059,7 @@ from notebook.conf import ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, ENABLE_
evt.dataTransfer.dropEffect = "copy";
}
- var dropZone = $(".notebook")[0];
+ var dropZone = $('#${ bindableElement }')[0];
dropZone.addEventListener("dragenter", showHoverMsg, false);
dropZone.addEventListener("dragover", handleDragOver, false);
dropZone.addEventListener("drop", handleFileSelect, false);
