mediawiki-extensions-Visual.../modules/ve
Catrope e6c7aa4275 Clear phantoms on teardown in ProtectedNode
When you typed after a ProtectedNode that was previously at the end of
a paragraph, then moved the mouse, you'd get a JS error.

What happened was the typing caused a new TextNode to be created after
the ProtectedNode, which caused the ParagraphNode to be rebuilt,
detaching the original ProtectedNode and creating a new one. The
detached ProtectedNode was still bound to mousemove on the body, and
when that event fired it would try to remove its phantoms from the
surface and fail because detached nodes can't get to the surface.

Change-Id: I9f38776f0267645b14d7b26e2a25007cf3be8ec7
2013-05-26 12:23:55 +02:00
..
ce Clear phantoms on teardown in ProtectedNode 2013-05-26 12:23:55 +02:00
dm Fix getAnnotationIndexesFromOffset() to always return an array 2013-05-25 13:41:32 +02:00
init Add MW meta button to toolbar 2013-05-24 15:54:50 +00:00
test Merge "Add getDocumentSlice" 2013-05-25 11:36:37 +00:00
ui Merge "Rename 'langlinks' to 'languages'" 2013-05-26 09:19:45 +00:00
ve.BranchNode.js Kill getOffsetFromNode() with fire 2013-05-09 17:26:22 -07:00
ve.debug.js
ve.Document.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Element.js The Great ve.ui.Surface refactor of 2013 2013-05-24 14:01:02 +02:00
ve.EventEmitter.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00
ve.Factory.js Remove more periods 2013-03-20 22:55:50 +00:00
ve.js Store multi byte characters as one element 2013-05-25 00:50:11 +02:00
ve.LeafNode.js
ve.NamedClassFactory.js Rename ve.NodeFactory to ve.NamedClassFactory 2013-04-09 12:05:05 -07:00
ve.Node.js Introduction of setup and teardown events for ve.ce.View nodes 2013-05-14 19:47:40 +00:00
ve.Range.js Clickable inline images 2013-04-08 17:58:46 -07:00
ve.Registry.js EventEmitter API cleanup 2013-05-02 15:05:59 -07:00