Fix some visual glitches and problems using Drag and Drop.

Review Request #2459 — Created July 10, 2011 and submitted

Information

Review Board

Reviewers

Fix some visual glitches and problems using Drag and Drop.

When dragging a file between the "Drop Screenshot" and "Drop File Attachment"
boxes, the drop screen would flicker on and off. The previous code attempted
to prevent this by keeping a counter for dragenters/leaves, but it didn't
really work.

This also appeared to have prevented drag and drop from working on Firefox.

Now we delay hiding the screen using a timer. On dragenter, we just clear
the timer. It's now smooth going between the boxes, and I can upload files
on Firefox again.

It also does some additional cleanup, renaming things, updating docs, and
removing some excess variables.
Dragged files around the browser window. It was smooth and not flickery.
Uploading as screenshots or files worked.
Description From Last Updated

Either remove the word "the" or add something like "protocol" at the end.

daviddavid
david
  1. 
      
  2. Either remove the word "the" or add something like "protocol" at the end.
  3. 
      
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Committed to master (6082b23)
Loading...