plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Progress bar appears on multiple comment textareas when uploading into "new comment" textarea

Open jywarren opened this issue 10 years ago • 2 comments

What happened just before the problem occurred

I began editing a comment, then, with two comment edit areas open, I dragged an image into the "new comment" textarea at the bottom. A progress bar appeared on both comment edit areas, but it should only appear on the bottom one.

This is closely related to #414 and #413, but I believe that the .progress-bar selector is not specific enough in the main "new comment" uploading code.

Relevant URLs

Try it out on this page (perhaps don't actually publish anything since there's a real discussion going on there) and see this screenshot: screenshot 2016-03-21 at 2 35 56 pm

Relevant code is in these files; search for .progress-bar:

https://github.com/publiclab/plots2/blob/master/app/assets/javascripts/dragdrop.js https://github.com/publiclab/plots2/blob/master/app/assets/javascripts/editor.js

jywarren avatar Mar 21 '16 18:03 jywarren

Yeah. Lets fix this. I will take care of this.

ujithaperera avatar Mar 21 '16 20:03 ujithaperera

Just checking -- I merged a lot of PRs in the past few days but I'm not sure if this was fixed... i just tested on the latest stable and the problem remains. No rush, just keeping up to date on progress. Thanks!

jywarren avatar Mar 25 '16 14:03 jywarren