Phuedx has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/155280

Change subject: Reinstate the ve-ui-toolbar-saveButton class
......................................................................

Reinstate the ve-ui-toolbar-saveButton class

The class provided a minimal coupling to the firsteditve guided tour,
which used it to attach a guider to the "Save page" button.

The class was removed in I30dc7020121f0dd6907b61ef674a7cb14eb00652.

Bug: 69784
Change-Id: I81fdc4f2fa41c86a6481cf478c154b5d6c99d41d
---
M modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/80/155280/1

diff --git a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js 
b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js
index b3b0a8f..79f7e3e 100644
--- a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js
+++ b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js
@@ -1144,6 +1144,7 @@
                'flags': ['constructive'],
                'disabled': !this.restoring
        } );
+       this.toolbarSaveButton.$element.addClass( 've-ui-toolbar-saveButton' );
 
        if ( ve.msg( 'accesskey-save' ) !== '-' && ve.msg( 'accesskey-save' ) 
!== '' ) {
                // FlaggedRevs tries to use this - it's useless on VE pages 
because all that stuff gets hidden, but it will still conflict so get rid of it

-- 
To view, visit https://gerrit.wikimedia.org/r/155280
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I81fdc4f2fa41c86a6481cf478c154b5d6c99d41d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Phuedx <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to