diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-07-01 03:52:43 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-07-01 03:52:43 +0000 |
commit | 1b750f319245f56fbfaa541e271c6efbde4985b8 (patch) | |
tree | d0f8932b8b1fbe1cb883690ebc67851e4f4e93c2 /public/javascripts | |
parent | cb7b57815e3a3e2443a3f5775d39b884f9ccbd11 (diff) | |
download | redmine-1b750f319245f56fbfaa541e271c6efbde4985b8.tar.gz redmine-1b750f319245f56fbfaa541e271c6efbde4985b8.zip |
fix file upload broken on Chrome 36 (#17151)
Contributed by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13199 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/javascripts')
-rw-r--r-- | public/javascripts/attachments.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/attachments.js b/public/javascripts/attachments.js index a689c2ef3..43803ba9c 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) { |