diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-15 10:03:34 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-15 10:03:34 +0000 |
commit | 39e7bab2b9aed464973ef35a6c0b63ec774a0ad0 (patch) | |
tree | d553bea9b67d8fe0648a7f1978d0eed430088c77 /public | |
parent | 0d86303e3f612312c7fe21ca01df914bf5d76467 (diff) | |
download | redmine-39e7bab2b9aed464973ef35a6c0b63ec774a0ad0.tar.gz redmine-39e7bab2b9aed464973ef35a6c0b63ec774a0ad0.zip |
Save the selected file just in case uploading stuff fails/is not supported.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11010 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r-- | public/javascripts/attachments.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/public/javascripts/attachments.js b/public/javascripts/attachments.js index e99f2ac7c..deac4eb00 100644 --- a/public/javascripts/attachments.js +++ b/public/javascripts/attachments.js @@ -156,8 +156,7 @@ function handleFileDropEvent(e) { blockEventPropagation(e); if ($.inArray('Files', e.dataTransfer.types) > -1) { - - uploadAndAttachFiles(e.dataTransfer.files, $('input:file[name=attachments_files]')); + uploadAndAttachFiles(e.dataTransfer.files, $('input:file.file_selector')); } } |