mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-03 19:38:02 +00:00
Allow browsing for multiple files at once
This commit is contained in:
@@ -36,6 +36,7 @@ BrowseWidget.prototype.render = function(parent,nextSibling) {
|
||||
// Create element
|
||||
var domNode = this.document.createElement("input");
|
||||
domNode.setAttribute("type","file");
|
||||
domNode.setAttribute("multiple","multiple");
|
||||
// Add a click event handler
|
||||
domNode.addEventListener("change",function (event) {
|
||||
self.wiki.readFiles(event.target.files,function(tiddlerFields) {
|
||||
|
Reference in New Issue
Block a user