Commit 5a82287b authored by rjw's avatar rjw
Browse files

Correctly save of document state in current

        document when going back.

        * WebCoreSupport.subproj/WebBridge.m:
        (-[WebBridge saveDocumentState:]):
        (-[WebBridge documentState]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1f389c96
2002-09-05 Richard Williamson (Local) <rjw@apple.com>
Correctly save of document state in current
document when going back.
* WebCoreSupport.subproj/WebBridge.m:
(-[WebBridge saveDocumentState:]):
(-[WebBridge documentState]):
2002-09-05 Richard Williamson (Local) <rjw@apple.com>
Fixed 3043505. Disallows drag drops on originating view.
......
2002-09-05 Richard Williamson (Local) <rjw@apple.com>
Correctly save of document state in current
document when going back.
* WebCoreSupport.subproj/WebBridge.m:
(-[WebBridge saveDocumentState:]):
(-[WebBridge documentState]):
2002-09-05 Richard Williamson (Local) <rjw@apple.com>
Fixed 3043505. Disallows drag drops on originating view.
......
......@@ -302,10 +302,14 @@ - (void)reportError:(WebError *)error
- (void)saveDocumentState: (NSArray *)documentState
{
WebHistoryItem *backItem;
WebHistoryItem *item;
backItem = [[[frame controller] backForwardList] backEntry];
[backItem setDocumentState: documentState];
if ([frame _loadType] == WebFrameLoadTypeBack)
item = [[[frame controller] backForwardList] forwardEntry];
else
item = [[[frame controller] backForwardList] backEntry];
[item setDocumentState: documentState];
}
- (NSArray *)documentState
......@@ -313,6 +317,7 @@ - (NSArray *)documentState
WebHistoryItem *currentItem;
currentItem = [[[frame controller] backForwardList] currentEntry];
return [currentItem documentState];
}
......
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