From bd8aca6e5d9919d28a5e6314e69ff5157a85b67f Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Tue, 15 Apr 2014 16:22:03 -0700 Subject: [PATCH] Update for 126166 in VE Core Change-Id: Ie5d4dbbc8ae301017f8ae047fb492368b965f980 --- modules/VisualEditor/ve.ui.MWMathInspector.js | 2 +- modules/VisualEditor/ve.ui.MWMathInspectorTool.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/VisualEditor/ve.ui.MWMathInspector.js b/modules/VisualEditor/ve.ui.MWMathInspector.js index 7d0a198c5..32aa0953d 100644 --- a/modules/VisualEditor/ve.ui.MWMathInspector.js +++ b/modules/VisualEditor/ve.ui.MWMathInspector.js @@ -114,4 +114,4 @@ ve.ui.MWMathInspector.prototype.teardown = function ( data ) { /* Registration */ -ve.ui.inspectorFactory.register( ve.ui.MWMathInspector ); +ve.ui.windowFactory.register( ve.ui.MWMathInspector ); diff --git a/modules/VisualEditor/ve.ui.MWMathInspectorTool.js b/modules/VisualEditor/ve.ui.MWMathInspectorTool.js index bfb46fa87..26720ff44 100644 --- a/modules/VisualEditor/ve.ui.MWMathInspectorTool.js +++ b/modules/VisualEditor/ve.ui.MWMathInspectorTool.js @@ -30,5 +30,5 @@ ve.ui.MWMathInspectorTool.static.commandName = 'math'; ve.ui.toolFactory.register( ve.ui.MWMathInspectorTool ); ve.ui.commandRegistry.register( - new ve.ui.Command( 'math', 'inspector', 'open', 'math' ) + new ve.ui.Command( 'math', 'window', 'open', 'math' ) );