Merge "Use new executeCommand method"

This commit is contained in:
jenkins-bot 2016-04-12 15:20:29 +00:00 committed by Gerrit Code Review
commit e00af78d9a
1 changed files with 1 additions and 2 deletions

View File

@ -55,8 +55,7 @@ ve.ui.MWMathContextItem.static.commandName = 'mathDialog';
* Handle inline edit button click events.
*/
ve.ui.MWMathContextItem.prototype.onInlineEditButtonClick = function () {
var command = ve.init.target.commandRegistry.lookup( 'mathInspector' );
command.execute( this.context.getSurface() );
this.context.getSurface().executeComamnd( 'mathInspector' );
};
/* Registration */