scratch
/file.html |
@@ -89,7 +89,7 @@ |
<span class="preview"><img src="img/fileholder.svg" width="58" alt="Upload file thumbnail" data-dz-thumbnail></span> |
</div> |
<div> |
<p id="name" class="name" data-dz-name></p> |
<p id="filename" class="filename" data-dz-name></p> |
<div class="input-group"> |
<input id="URL" type="text" class="form-control" readonly> |
<span class="input-group-btn"> |
@@ -211,6 +211,13 @@ |
.tagsinput('items'); |
|
formData.append('tags', JSON.stringify(tags)); |
|
// And disable the tags bar. |
file |
.previewElement |
.querySelector('#' + tagsBoxID) |
.setAttribute('disabled', 'disabled'); |
|
}).on('addedfile', (file) => { |
// Hookup the start button. |
file.previewElement.querySelector('.start').onclick = () => { |