summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-06-25 13:23:52 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-06-25 13:23:52 +0000
commit5f99260cc241d65ee1a936592a83aed1e2d8a162 (patch)
tree90c87ce1eeda65496f41828d7e1b32f6958ea16e /public
parent8ee6495978a96112b42df12d20e856ca060634aa (diff)
downloadredmine-5f99260cc241d65ee1a936592a83aed1e2d8a162.tar.gz
redmine-5f99260cc241d65ee1a936592a83aed1e2d8a162.zip
fix file upload broken on Chrome 36 (#17151)
Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@13183 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/attachments.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/attachments.js b/public/javascripts/attachments.js
index ab9f89a56..2cfbe8398 100644
--- a/public/javascripts/attachments.js
+++ b/public/javascripts/attachments.js
@@ -131,7 +131,7 @@ function addInputFiles(inputEl) {
}
}
- clearedFileInput.insertAfter('#attachments_fields');
+ clearedFileInput.insertAfter('#attachments_fields').on('change', function(){addInputFiles(this);});
}
function uploadAndAttachFiles(files, inputEl) {