diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-07-10 23:04:48 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-07-10 23:04:48 +0000 |
commit | ddaac5317f99a52db6a039b672301c8b9cd5d2ff (patch) | |
tree | 0b72b68c64dd2f6c828e56dcd64e5b5be6e3d5da /lib | |
parent | b5e2dd6f320d3c15d898616fd8e9c41a52e9ddf4 (diff) | |
parent | 1ea2dfa5de7930ddc9602ed376d2c557077f45e6 (diff) | |
download | gitlab-ce-ddaac5317f99a52db6a039b672301c8b9cd5d2ff.tar.gz |
Merge branch 'fix-multiple-dropzone-icons' into 'master'
Do not add the same icon multiple times to dropzones
Some DOM queries were to broad which caused paperclip icons and spinners
to be added multiple times to a dropzone in case of multiple dropzones
on a page.

Steps to reproduce:
1. Open an existing issue or merge request with comments.
2. Move a file over the new comment dropzone. One paperclip icon should appear.
3. Now click the edit button for an existing comment and repeat step 2. You should see two paperclips.
Fixes #1725.
See merge request !959
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions