diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-04-19 20:02:21 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-04-19 20:02:21 +0300 |
commit | 6d713065622953c81dbf39c7d9f393f08f968179 (patch) | |
tree | a0055a1f84aa5214d615e7753eba3c6cf8fa0863 /app/assets/javascripts/dropzone_input.js | |
parent | ab4dbcecac691690bed34b74020ec4f21c207ce8 (diff) | |
parent | c2b311e034eeec6d9a3ddab1a86a56e2c13a11d4 (diff) |
Merge branch 'group-milestone-date-fields-fix' into 'master'
Fixed group milestones date pickers not working
Closes #31095
See merge request !10779
Diffstat (limited to 'app/assets/javascripts/dropzone_input.js')
-rw-r--r-- | app/assets/javascripts/dropzone_input.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/dropzone_input.js b/app/assets/javascripts/dropzone_input.js index c5fbbdaf465..b70d242269d 100644 --- a/app/assets/javascripts/dropzone_input.js +++ b/app/assets/javascripts/dropzone_input.js @@ -38,6 +38,9 @@ window.DropzoneInput = (function() { "opacity": 0, "display": "none" }); + + if (!project_uploads_path) return; + dropzone = form_dropzone.dropzone({ url: project_uploads_path, dictDefaultMessage: "", |