Merge "Use widget.getApi, not this.getApi"

This commit is contained in:
jenkins-bot 2016-12-01 23:43:16 +00:00 committed by Gerrit Code Review
commit 4e05b86cf3

View file

@ -93,7 +93,7 @@ ve.ui.MWTemplateTitleInputWidget.prototype.getLookupRequest = function () {
if ( widget.showRedirects ) {
params.redirects = '1';
}
xhr = this.getApi().get( params );
xhr = widget.getApi().get( params );
return xhr.promise( { abort: xhr.abort } );
}
} )