@@ -105,7 +105,7 @@ | |||
<div class="container d-none" id="autodoc_tab_upload"> | |||
<h3>upload</h3> | |||
<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> | |||
Drag & Drop files (png, jpeg, pdf) into this zone to attach them to a single new document |
@@ -18,6 +18,7 @@ $(document).ready(function() { | |||
$(document).scroll(function() { | |||
page_home_scroll(); | |||
}); | |||
$('#autodoc_upload_zone').event('change', file_upload); | |||
}); | |||
$(window).bind("hashchange", function() { | |||
@@ -151,3 +152,7 @@ function page_home_scroll() { | |||
document_load(); | |||
} | |||
} | |||
function file_upload() { | |||
console.log(this.files); | |||
} |