From 61ba78538afad3b028a9ccc39c533e1e66d85015 Mon Sep 17 00:00:00 2001 From: Ollie Philpott Date: Tue, 14 May 2019 12:20:58 +0100 Subject: [PATCH 1/2] Added hotkeys for schedule and publish with descendants --- .../src/common/services/contenteditinghelper.service.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/common/services/contenteditinghelper.service.js b/src/Umbraco.Web.UI.Client/src/common/services/contenteditinghelper.service.js index 1efcf84dcb..1b2be5f635 100644 --- a/src/Umbraco.Web.UI.Client/src/common/services/contenteditinghelper.service.js +++ b/src/Umbraco.Web.UI.Client/src/common/services/contenteditinghelper.service.js @@ -197,6 +197,8 @@ function contentEditingHelper(fileManager, $q, $location, $routeParams, notifica letter: ch, labelKey: "buttons_schedulePublish", handler: args.methods.schedulePublish, + hotKey: "alt+shift+s", + hotKeyWhenHidden: true, alias: "schedulePublish", addEllipsis: "true" }; @@ -207,6 +209,8 @@ function contentEditingHelper(fileManager, $q, $location, $routeParams, notifica letter: ch, labelKey: "buttons_publishDescendants", handler: args.methods.publishDescendants, + hotKey: "alt+shift+p", + hotKeyWhenHidden: true, alias: "publishDescendant", addEllipsis: "true" }; From c0c9f4dfcc866770074c8895baaac09f53ab14c8 Mon Sep 17 00:00:00 2001 From: Ollie Philpott Date: Tue, 14 May 2019 12:21:29 +0100 Subject: [PATCH 2/2] Changed publish submenu rendering to allow working hotkeys --- .../src/views/components/buttons/umb-button-group.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/views/components/buttons/umb-button-group.html b/src/Umbraco.Web.UI.Client/src/views/components/buttons/umb-button-group.html index 054681d7f1..82f09de46c 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/buttons/umb-button-group.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/buttons/umb-button-group.html @@ -23,7 +23,7 @@ - + {{subButton.labelKey}}