Changeset 19063 in webkit


Ignore:
Timestamp:
Jan 23, 2007 3:23:32 PM (17 years ago)
Author:
oliver
Message:

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

Reviewed by Adam.

Fixes dropping of files into safari

  • page/DragController.cpp: (WebCore::DragController::performDrag):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r19060 r19063  
     12007-01-23  Oliver Hunt  <oliver@apple.com>
     2
     3        Reviewed by Adam.
     4
     5        Fixes dropping of files into safari
     6
     7        * page/DragController.cpp:
     8        (WebCore::DragController::performDrag):
     9
    1102007-01-23  Brady Eidson  <beidson@apple.com>
    211
  • trunk/WebCore/page/DragController.cpp

    r19043 r19063  
    209209    m_document = 0;
    210210
    211     if (operationForLoad(dragData) != DragOperationNone)
     211    if (operationForLoad(dragData) == DragOperationNone)
    212212        return false;
    213213     
    214     //FIXME: should we pass the event?
    215214    m_page->mainFrame()->loader()->load(ResourceRequest(dragData->asURL()));
    216215    return true;
Note: See TracChangeset for help on using the changeset viewer.