diff options
author | Phil Hughes <me@iamphill.com> | 2017-04-19 10:04:24 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-04-19 10:04:24 +0100 |
commit | c2b311e034eeec6d9a3ddab1a86a56e2c13a11d4 (patch) | |
tree | d8e2c614419e6dc14d8e49b6084f0e540caec553 /app/assets/javascripts/dropzone_input.js | |
parent | bbd83376d625b8d9cb73cbc83c3c0eb71b1abf32 (diff) | |
download | gitlab-ce-c2b311e034eeec6d9a3ddab1a86a56e2c13a11d4.tar.gz |
Fixed group milestones date pickers not workinggroup-milestone-date-fields-fix
Closes #31095
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 df0e3f46827..5052fa1ecb0 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: "", |