mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
50f89a675e
This was removed in I0873d906c058203b83b8d4bbe5a4b274f05a26fd because I had fixed another cause of the recursion - this is still needed however because the following still happens: 1. Link inspector is opened away from a word, so it goes into a mode that will insert text based on the chosen target 2. The link inspector is closed, causing a context change when the new annotated text is inserted 3. The context change event triggers the link inspector to close, leading us back to step 2 4. Browser dies in infinite loop hell We may be able to fix this in a different way, like performing the document changes after the inspector has already closed by running it in a timeout. In any case, this works for now, and we can improve the design of this area of the code later on. Change-Id: I7f3c17dad08521bb1ae7c2a1e8a4e21e2c4ba210 |
||
---|---|---|
.. | ||
actions | ||
ce | ||
dm | ||
init | ||
test | ||
ui | ||
ve.Action.js | ||
ve.ActionFactory.js | ||
ve.AnnotationSet.js | ||
ve.BranchNode.js | ||
ve.Command.js | ||
ve.CommandRegistry.js | ||
ve.debug.js | ||
ve.Document.js | ||
ve.EventEmitter.js | ||
ve.Factory.js | ||
ve.js | ||
ve.LeafNode.js | ||
ve.Node.js | ||
ve.OrderedHashSet.js | ||
ve.Position.js | ||
ve.Range.js | ||
ve.Registry.js | ||
ve.Surface.js |