- Timestamp:
- 2021-08-09T13:49:44+12:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-interfaces-dev/atea/js/asr/asr-controller.js
r35265 r35267 8 8 * The name of the file input that audio files can be uploaded to. 9 9 */ 10 const FILE_UPLOAD_INPUT_NAME = "# fileUpload";10 const FILE_UPLOAD_INPUT_NAME = "#audioFileUpload"; 11 11 12 12 /** … … 126 126 const clone = TRANSCRIPTION_TEMPLATE.content.firstElementChild.cloneNode(true); 127 127 128 const textElement = clone.querySelector(".transcription__text"); 129 textElement.textContent = transcription.transcription; 128 130 const fileNameElement = clone.querySelector(".transcription__file-name"); 129 131 fileNameElement.textContent = transcription.file_name; … … 275 277 { 276 278 if (e.target.files.length <= 0) { 277 $("#btn FileUpload").prop("disabled", true);279 $("#btnBeginTranscription").prop("disabled", true); 278 280 } 279 281 else { 280 $("#btn FileUpload").prop("disabled", false);282 $("#btnBeginTranscription").prop("disabled", false); 281 283 } 282 284 });
Note:
See TracChangeset
for help on using the changeset viewer.