Merge "Don't assume commandGroup has a demote property set"

This commit is contained in:
jenkins-bot 2018-08-31 23:31:45 +00:00 committed by Gerrit Code Review
commit 4914787e62

View file

@ -183,6 +183,7 @@ ve.ui.commandRegistry.register(
trigger: shortcut.command, trigger: shortcut.command,
label: shortcut.label 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 ); ve.ui.MWCommandHelpDialog.static.commandGroups.other.demote.push( shortcut.command );
} }
} ); } );