mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
parent
b13627398b
commit
4c55044440
@ -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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user