work in progress js_uploader plugin, turn java uploader into plugin - not done yet
This commit is contained in:
parent
abbd498a8b
commit
2fc89deaea
68 changed files with 6768 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
<p>Drag multiple files into input field. (Win7)</p>
|
||||
<p>Result: One file is selected multiple times. Expected: Multiple files are selected.</p>
|
||||
<input type="file" multiple></body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<script>
|
||||
window.addEventListener('load', function(){
|
||||
document.addEventListener('dragenter', function(e){
|
||||
e.preventDefault();
|
||||
},false);
|
||||
document.addEventListener('dragover', function(e){
|
||||
e.preventDefault();
|
||||
// e.dataTransfer.effectAllowed is none
|
||||
e.dataTransfer.dropEffect = 'copy';
|
||||
},false);
|
||||
},false);
|
||||
</script>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue