Browse Source

upload

master
Pascal Gloor 5 years ago
parent
commit
0c717e1ccc
2 changed files with 6 additions and 1 deletions
  1. 1
    1
      www/index.html
  2. 5
    0
      www/js/autodoc.js

+ 1
- 1
www/index.html View File

<div class="container d-none" id="autodoc_tab_upload"> <div class="container d-none" id="autodoc_tab_upload">
<h3>upload</h3> <h3>upload</h3>
<div class="row"> <div class="row">
<div class="col lead bg-secondary text-center">
<div class="col lead bg-secondary text-center autodoc_upload_zone">
<div class="lead">Upload Zone</div> <div class="lead">Upload Zone</div>
<div> <div>
Drag & Drop files (png, jpeg, pdf) into this zone to attach them to a single new document Drag & Drop files (png, jpeg, pdf) into this zone to attach them to a single new document

+ 5
- 0
www/js/autodoc.js View File

$(document).scroll(function() { $(document).scroll(function() {
page_home_scroll(); page_home_scroll();
}); });
$('#autodoc_upload_zone').event('change', file_upload);
}); });


$(window).bind("hashchange", function() { $(window).bind("hashchange", function() {
document_load(); document_load();
} }
} }

function file_upload() {
console.log(this.files);
}

Loading…
Cancel
Save