[Webkit-unassigned] [Bug 7150] TinyMCE: Undo still enabled after a location change
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Thu Mar 2 00:15:39 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=7150
justin.garcia at apple.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #6806| |review?
Flag| |
------- Comment #2 from justin.garcia at apple.com 2006-03-02 00:15 PDT -------
Created an attachment (id=6806)
--> (http://bugzilla.opendarwin.org/attachment.cgi?id=6806&action=view)
patch
undo/redo operations registered by subframes weren't cleared on a location
change. clearUndoRedoOperations was only called from didOpenURL, and thus was
only called for the main frame. At first I tried calling it for all
childFrames in didOpenURL, but by the time that didOpenURL is called, all of
the subframes have already been detached/destroyed. So I moved the call to
clearUndoRedoOperations to closeURL, and it is now called for subframes as they
are detached.
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list