Use new executeCommand method
Change-Id: I24afd6c94c3224a3ae1f86204ddc16c726833c7c
This commit is contained in:
parent
92bd24474c
commit
3f456b1931
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user