DLynch has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/405023 )
Change subject: Update TitleInput's getTitle to getMWTitle ...................................................................... Update TitleInput's getTitle to getMWTitle cb92c72c63274b332dc81edf473b1b3979ab4bdf in MW core changed this. Bug: T185231 Change-Id: I9084a11bd40e46bddbcd1922ff549703bc90f60f --- M modules/ve-mw/ui/pages/ve.ui.MWTemplatePlaceholderPage.js 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor refs/changes/23/405023/1 diff --git a/modules/ve-mw/ui/pages/ve.ui.MWTemplatePlaceholderPage.js b/modules/ve-mw/ui/pages/ve.ui.MWTemplatePlaceholderPage.js index 2e53985..140d351 100644 --- a/modules/ve-mw/ui/pages/ve.ui.MWTemplatePlaceholderPage.js +++ b/modules/ve-mw/ui/pages/ve.ui.MWTemplatePlaceholderPage.js @@ -109,7 +109,7 @@ if ( menu.isVisible() ) { menu.chooseItem( menu.findSelectedItem() ); } - name = this.addTemplateInput.getTitle(); + name = this.addTemplateInput.getMWTitle(); if ( !name ) { // Invalid titles return null, so abort here. return; @@ -124,7 +124,7 @@ }; ve.ui.MWTemplatePlaceholderPage.prototype.onTemplateInputChange = function () { - this.addTemplateButton.setDisabled( this.addTemplateInput.getTitle() === null ); + this.addTemplateButton.setDisabled( this.addTemplateInput.getMWTitle() === null ); }; ve.ui.MWTemplatePlaceholderPage.prototype.onRemoveButtonClick = function () { -- To view, visit https://gerrit.wikimedia.org/r/405023 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9084a11bd40e46bddbcd1922ff549703bc90f60f Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: DLynch <dly...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits