From f9c95dda46709100b9e89d5afd7b4117eae93c61 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 30 Oct 2013 16:05:49 +0000 Subject: [PATCH] Allow browsing for multiple files at once --- core/modules/new_widgets/browse.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/modules/new_widgets/browse.js b/core/modules/new_widgets/browse.js index 7005ad3f8..7a95b3725 100644 --- a/core/modules/new_widgets/browse.js +++ b/core/modules/new_widgets/browse.js @@ -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) {