mediawiki-extensions-Visual.../modules/ve/ui
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
..
inspectors (bug 42925) Inspector doesn't open properly 2012-12-10 16:48:13 -08:00
styles Removed all browser-specific box-shadow rules 2012-12-03 23:08:33 +01:00
tools Cleanup tool API 2012-10-31 11:10:17 -07:00
ve.ui.Context.js (bug 42925) Inspector doesn't open properly 2012-12-10 16:48:13 -08:00
ve.ui.Frame.js Clean up, fix errors on demos. 2012-12-04 08:58:20 +01:00
ve.ui.Inspector.js Add recursion guard back in 2012-12-10 18:01:10 -08:00
ve.ui.InspectorFactory.js The great inspector and context rewrite of 2012 2012-11-19 15:21:27 -08:00
ve.ui.js Tools changes 2012-10-26 14:48:27 -07:00
ve.ui.Menu.js UI context reorganization, inspector rewrite, iframe refactor, icon generalization 2012-10-26 14:46:11 -07:00
ve.ui.Tool.js Cleanup tool API 2012-10-31 11:10:17 -07:00
ve.ui.Toolbar.js Added contextChange event to surface model, replacing annotationChange 2012-11-26 15:57:02 -08:00
ve.ui.ToolFactory.js Tools changes 2012-10-26 14:48:27 -07:00