mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
95742d65f6
Drop "-down" class in favour of :active CSS pseudo-class. * http://kimblim.dk/css-tests/selectors/ * http://www.quirksmode.org/css/contents.html * http://caniuse.com/#search=css%202.1 Rename methods consistently to enableFoo and disableFoo. Use mw.notify instead of mw.util.jsMessage (the latter takes a string of html and parses it, instead of taking text). Also, jsMessage is obsolete (legacy wrapper around mw.notify). Rename slide-main to slide-save in preparation of other slides and introduction of multi-step save dialog. Re-introduce "disabled" state (not css, but actual state) so that pressing "Show changes" multiple times will not spawn multiple async operations. The save function guards against this by keeping a static property in the internal helper method, but there are still some operations happening between the button and that method this should be guarded in the UI instead. Follows-up I67819168. Change-Id: Idf0331377e6be814ccae853228d6159b4ad5a159 |
||
---|---|---|
.. | ||
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 |