mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +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 |
||
---|---|---|
.. | ||
images | ||
ve.init.mw.ViewPageTarget-apex.css | ||
ve.init.mw.ViewPageTarget-monobook.css | ||
ve.init.mw.ViewPageTarget-vector-hd.css | ||
ve.init.mw.ViewPageTarget-vector.css | ||
ve.init.mw.ViewPageTarget.css | ||
ve.init.mw.ViewPageTarget.Icons-raster.css | ||
ve.init.mw.ViewPageTarget.Icons-vector.css |