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.
|
* Handle inline edit button click events.
|
||||||
*/
|
*/
|
||||||
ve.ui.MWMathContextItem.prototype.onInlineEditButtonClick = function () {
|
ve.ui.MWMathContextItem.prototype.onInlineEditButtonClick = function () {
|
||||||
var command = ve.init.target.commandRegistry.lookup( 'mathInspector' );
|
this.context.getSurface().executeComamnd( 'mathInspector' );
|
||||||
command.execute( this.context.getSurface() );
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Registration */
|
/* Registration */
|
||||||
|
Loading…
Reference in New Issue
Block a user