Skip to content

Commit ed16728

Browse files
Rick Butterfieldnathanwoulfe
authored andcommitted
Change event name to rte.shortcut.saveAndPublish
1 parent 976711e commit ed16728

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Umbraco.Web.UI.Client/src/common/directives/components/content/edit.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
}
201201
}));
202202

203-
evts.push(eventsService.on("rte.shortcut.publish", function () {
203+
evts.push(eventsService.on("rte.shortcut.saveAndPublish", function () {
204204
$scope.saveAndPublish();
205205
}));
206206

src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ function tinyMceService($rootScope, $q, imageHelper, $locale, $http, $timeout, s
12231223

12241224
editor.addShortcut('Ctrl+P', '', function () {
12251225
angularHelper.safeApply($rootScope, function () {
1226-
eventsService.emit("rte.shortcut.publish");
1226+
eventsService.emit("rte.shortcut.saveAndPublish");
12271227
});
12281228
});
12291229

0 commit comments

Comments
 (0)