mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
2d044518bd
Objectives: * Remove the whole toolbar subset thing, it's up to the creator of the subsurface to know what is and is now allowed, and the commands were still passing through unfiltered * Correctly separate initialization from opening - fix issue where opening the reference dialog multiple times will keep adding more and more controls Changes: ve.init.Target.js * Remove getToolbarSubset method ve.ui.MWReferenceDialog.js * Add toolbar tools and surface commands configs to reference dialog, including the things that are safe to use in references * Move creation of field sets and reused controls to initialize method to prevent re-creation each time the dialog is opened * Move static initialization stuff to the top near the other static stuff Change-Id: I1c8577d17c506bac76e61b2b036655c59ef5a218 |
||
---|---|---|
.. | ||
ce | ||
dm | ||
init | ||
test | ||
ui | ||
ve.BranchNode.js | ||
ve.debug.js | ||
ve.Document.js | ||
ve.Element.js | ||
ve.EventEmitter.js | ||
ve.Factory.js | ||
ve.js | ||
ve.LeafNode.js | ||
ve.NamedClassFactory.js | ||
ve.Node.js | ||
ve.Range.js | ||
ve.Registry.js |