touched up file_show.php a bit

This commit is contained in:
hyung-hwan 2018-08-21 18:06:44 +00:00
parent 085204f413
commit c7a6ca1d12

View File

@ -562,10 +562,10 @@ $(function () {
var file_drag_event_handler = function(e) { return false; }; var file_drag_event_handler = function(e) { return false; };
var file_drop_event_handler = function(e) var file_drop_event_handler = function(e)
{ {
$('#file_show_add_file_form').dialog('close'); var aff = $('#file_show_add_file_form');
var files = e.originalEvent.dataTransfer.files; aff.dialog('close');
populate_selected_files_for_adding_with (files); populate_selected_files_for_adding_with(e.originalEvent.dataTransfer.files);
$('#file_show_add_file_form').dialog('open'); aff.dialog('open');
return false; return false;
}; };