mediawiki-extensions-Visual.../modules/ve
Trevor Parscal 50f89a675e Add recursion guard back in
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
2012-12-10 18:01:10 -08:00
..
actions Restore cursor after undo/redo 2012-12-05 13:51:04 -08:00
ce Alien support for IE 2012-12-07 15:51:15 -08:00
dm (bug 42925) Inspector doesn't open properly 2012-12-10 16:48:13 -08:00
init Merge "(bug 42654) Implement Show changes in Save dialog." 2012-12-10 21:49:38 +00:00
test Fix tests for bug 42806 patch 2012-12-10 16:45:46 -08:00
ui Add recursion guard back in 2012-12-10 18:01:10 -08:00
ve.Action.js Mapped tab key to indentation action 2012-11-07 16:26:13 -08:00
ve.ActionFactory.js
ve.AnnotationSet.js
ve.BranchNode.js
ve.Command.js Added some more key bindings for IE and Mozilla support 2012-11-07 16:49:34 -08:00
ve.CommandRegistry.js Mapped tab key to indentation action 2012-11-07 16:26:13 -08:00
ve.debug.js
ve.Document.js
ve.EventEmitter.js
ve.Factory.js Refactored commands into a registry 2012-11-07 15:52:30 -08:00
ve.js Init: Fix incorrect context for mw.msg.apply. 2012-12-02 03:45:51 +01:00
ve.LeafNode.js
ve.Node.js
ve.OrderedHashSet.js
ve.Position.js
ve.Range.js (bug 42925) Inspector doesn't open properly 2012-12-10 16:48:13 -08:00
ve.Registry.js Refactored commands into a registry 2012-11-07 15:52:30 -08:00
ve.Surface.js Added destroy methods and called them on deactivate 2012-12-03 13:45:38 -08:00