DescriptionFix Dropping in the bookmark manager
Originally we were clearing the dragData member in a few places, including
experimental.bookmarkManager.onDrop. This was triggered before the javascripts
drop event so when it got to that point to drop a valid bookmark, it had already
cleared itself out. Now it just posts a task with 0ms delay to let the real
drop event handle the data before clearing it. Also clear the data on mouse up,
which wasn't being handled in the case where you drag an element just a tiny
bit, and no action is performed.
BUG=none
TEST=Ensure you can still drop stuff in the bmm
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=46006
Patch Set 1 #
Total comments: 3
Patch Set 2 : Fix Nits #Messages
Total messages: 2 (0 generated)
|