mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-24 21:57:39 -05:00
1 parent
b13627398b
commit
4c55044440
2 files changed
+2
-10
No files matched your search
@@ -98,11 +98,7 @@ define(
|
||||
}
|
||||
|
||||
// Prevent browser from opening the drag file.
|
||||
$('.pg-panel-content').bind('dragover', function (event) {
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
});
|
||||
$('.pg-panel-content').bind('drop', function (event) {
|
||||
$container.bind('dragover drop', function (event) {
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
@@ -493,11 +493,7 @@ define('tools.querytool', [
|
||||
});
|
||||
|
||||
// Prevent browser from opening the drag file.
|
||||
$('#datagrid').bind('dragover', function (event) {
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
});
|
||||
$('#datagrid').bind('drop', function (event) {
|
||||
$('#datagrid').bind('dragover drop', function (event) {
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user