We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When files are not compatible there is no way of clearing the list. Adding the following lines I've solved this.
After the other add EventListeners:
document.getElementById(this.config.clearbutton).addEventListener("click", this._clearFiles, false);
After the "multiUploader.prototype._dropFiles" function
multiUploader.prototype._clearFiles = function(e){ $("#dragAndDropFiles div").each( function(){ $(this).empty(); $(this).after($(this).html()).remove(); }); self.all = []; }
During the creation of the config add the id of the clickable element u want to use.
var config = { clearbutton: "clearbutton", ... // other options }
Make sure your HTML element has the same id you set with the config
<a id="clearbutton" href="javascript: void(0);">Clear filelist</a>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When files are not compatible there is no way of clearing the list. Adding the following lines I've solved this.
multiupload.js
After the other add EventListeners:
After the "multiUploader.prototype._dropFiles" function
your_script_loader_file.js
During the creation of the config add the id of the clickable element u want to use.
HTML
Make sure your HTML element has the same id you set with the config
The text was updated successfully, but these errors were encountered: