summaryrefslogtreecommitdiffstats
path: root/data/js
diff options
context:
space:
mode:
Diffstat (limited to 'data/js')
-rw-r--r--data/js/uploader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/js/uploader.js b/data/js/uploader.js
index 11ffc8d4a..0b3993eb0 100644
--- a/data/js/uploader.js
+++ b/data/js/uploader.js
@@ -50,7 +50,7 @@ define(['jquery', 'underscore'], function ($, _) {
appendUploadInput: function (event) {
if (_.any($(ui.uploadInputs), this.hasNoFiles)) { return; }
- $(event.target).parent().append($(event.target).clone(), $('<br>'));
+ $(event.target).parent().append($(event.target).clone().val(""), $('<br>'));
},
hasNoText: function (textArea) {