From 222ad828bd7ad9485b4fec53835b611ccfbc7bc2 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 31 Aug 2018 22:18:19 +0100 Subject: [PATCH] Don't assume commandGroup has a demote property set Bug: T203282 Change-Id: Ic67dcfb2a473559d5e5d457072cda101844fe1e9 --- modules/ve-mw/ui/actions/ve.ui.MWSaveDialogAction.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ve-mw/ui/actions/ve.ui.MWSaveDialogAction.js b/modules/ve-mw/ui/actions/ve.ui.MWSaveDialogAction.js index 7692c1a21c..7936274cf8 100644 --- a/modules/ve-mw/ui/actions/ve.ui.MWSaveDialogAction.js +++ b/modules/ve-mw/ui/actions/ve.ui.MWSaveDialogAction.js @@ -183,6 +183,7 @@ ve.ui.commandRegistry.register( trigger: shortcut.command, label: shortcut.label } ); + ve.ui.MWCommandHelpDialog.static.commandGroups.other.demote = ve.ui.MWCommandHelpDialog.static.commandGroups.other.demote || []; ve.ui.MWCommandHelpDialog.static.commandGroups.other.demote.push( shortcut.command ); } } );