mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Merge branch 'bug/File-Drag-Drop' into 'dev'
Fix bug where users could not drag files See merge request crafty-controller/crafty-commander!247
This commit is contained in:
commit
300c19de42
@ -728,11 +728,11 @@
|
||||
console.log("PATH: " + path);
|
||||
$(function () {
|
||||
var uploadHtml = "<div>" +
|
||||
'<form id="upload_file" enctype="multipart/form-data">' + "<label class='upload-area' style='width:100%;text-align:center;' for='files'>" +
|
||||
"<input id='files' name='files' type='file' style='display:none;' multiple='true'>" +
|
||||
'<form id="upload_file" enctype="multipart/form-data">' + "<label class='upload-area' style='width:100%;text-align:center;' for='files'>" +
|
||||
"<i class='fa fa-cloud-upload fa-3x'></i>" +
|
||||
"<br />" +
|
||||
"{{translate('serverFiles', 'clickUpload', data['lang'])}}" +
|
||||
"<input style='margin-left: 21%;' id='files' name='files' type='file' multiple='true'>" +
|
||||
"</label></form>" +
|
||||
"<br />" +
|
||||
"<ul style='margin-left:5px !important;' id='fileList'></ul>" +
|
||||
|
Loading…
Reference in New Issue
Block a user