Merged r13199 from trunk to 2.5-stable (#17151)

Fix file upload broken on Chrome 36.

Contributed by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/branches/2.5-stable@13201 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2014-07-01 05:25:24 +00:00
parent 5ecad330d9
commit 5baf46b640
2 changed files with 4 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ function addInputFiles(inputEl) {
}
}
clearedFileInput.insertAfter('#attachments_fields');
clearedFileInput.insertAfter('#attachments_fields').on('change', function(){addInputFiles(this);});
}
function uploadAndAttachFiles(files, inputEl) {