Commit 59908921 authored by apavlov@chromium.org's avatar apavlov@chromium.org
Browse files

Web Inspector: Drag and drop a URL in inspector is not working as expected

https://bugs.webkit.org/show_bug.cgi?id=100527

Reviewed by Yury Semikhatsky.

Inhibit custom dragstart handling when the active element is A.

* inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeOutline.prototype._ondragstart):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132794 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent fdfff267
2012-10-29 Alexander Pavlov <apavlov@chromium.org>
Web Inspector: Drag and drop a URL in inspector is not working as expected
https://bugs.webkit.org/show_bug.cgi?id=100527
Reviewed by Yury Semikhatsky.
Inhibit custom dragstart handling when the active element is A.
* inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeOutline.prototype._ondragstart):
2012-10-29 Mike West <mkwst@chromium.org>
 
Web Inspector: Error/warning count is one pixel off.
......@@ -361,6 +361,8 @@ WebInspector.ElementsTreeOutline.prototype = {
{
if (!window.getSelection().isCollapsed)
return false;
if (event.target.nodeName === "A")
return false;
var treeElement = this._treeElementFromEvent(event);
if (!treeElement)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment