Commit 72661129 authored by oliver's avatar oliver

2007-01-23 Oliver Hunt <oliver@apple.com>

        Reviewed by Adam.

        Fixes dropping of files into safari

        * page/DragController.cpp:
        (WebCore::DragController::performDrag):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent d0283b5c
2007-01-23 Oliver Hunt <oliver@apple.com>
Reviewed by Adam.
Fixes dropping of files into safari
* page/DragController.cpp:
(WebCore::DragController::performDrag):
2007-01-23 Brady Eidson <beidson@apple.com>
Reviewed by Darin
......
......@@ -208,10 +208,9 @@ bool DragController::performDrag(DragData* dragData)
m_document = 0;
if (operationForLoad(dragData) != DragOperationNone)
if (operationForLoad(dragData) == DragOperationNone)
return false;
//FIXME: should we pass the event?
m_page->mainFrame()->loader()->load(ResourceRequest(dragData->asURL()));
return true;
}
......
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