Open ingandread opened 8 years ago
Hellow
I am using the uploader to upload files. But I can not run the cancellation. I can not find documentation to clarify this process.
Whats the error in my code:
........ onSubmit: function (d) { this.setProgressBar(progressBar); msgBox.innerHTML = ''; // empty the message box btn.innerHTML = 'Cargando...'; // change button text to "Uploading..."
progressBar.appendChild(abort); abort.className = 'btn btn-sm btn-info'; abort.innerHTML = 'Cancel'; this.setAbortBtn(abort, true); },
onAbort: function (filename, abort, size) { alert('abortar subida'); <= here not firing!!! },
help! Thanks!!!
Hellow
I am using the uploader to upload files. But I can not run the cancellation. I can not find documentation to clarify this process.
Whats the error in my code:
........ onSubmit: function (d) { this.setProgressBar(progressBar); msgBox.innerHTML = ''; // empty the message box btn.innerHTML = 'Cargando...'; // change button text to "Uploading..."
onAbort: function (filename, abort, size) { alert('abortar subida'); <= here not firing!!! },
help! Thanks!!!