A more complete fix for: can't drag the Web Inspector when grabbing
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Apr 2008 17:01:19 +0000 (17:01 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Apr 2008 17:01:19 +0000 (17:01 +0000)
commit34797921185305601b5e8d979aacd77cad1a3815
treec964ff2f6926648d23f0832c25b8aaf3a6a4e28e
parent60fc1bd5d3d3d4eceaafb6a97e1f131e5239e778
A more complete fix for: can't drag the Web Inspector when grabbing
in the toolbar area. Makes dragging under the search field in the
empty space work again.

http://bugs.webkit.org/show_bug.cgi?id=18373

Reviewed by Adam Roben.

* page/inspector/inspector.js:
(WebInspector.toolbarDragStart): Prevent dragging if the event target
is a toggleable toolbar item. Allow dragging when the target is a
normal toolbar item.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@31755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/page/inspector/inspector.js