Skip to content

Commit

Permalink
Add "Save Page As" to right click context menu
Browse files Browse the repository at this point in the history
fix brave#4830

Auditors: @bsclifton

Test Plan:
1. right click on page
2. context menu should contain "Save Page As"
  • Loading branch information
darkdh committed Oct 16, 2016
1 parent 6536403 commit a8290a0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions js/contextMenus.js
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,12 @@ function mainTemplateInit (nodeProps, frame) {
CommonMenu.separatorMenuItem,
addBookmarkMenuItem('bookmarkPage', siteUtil.getDetailFromFrame(frame, siteTags.BOOKMARK), false),
{
label: locale.translation('savePageAs'),
accelerator: 'CmdOrCtrl+S',
click: function (item, focusedWindow) {
CommonMenu.sendToFocusedWindow(focusedWindow, [messages.SHORTCUT_ACTIVE_FRAME_SAVE])
}
}, {
label: locale.translation('find'),
accelerator: 'CmdOrCtrl+F',
click: function (item, focusedWindow) {
Expand Down

0 comments on commit a8290a0

Please sign in to comment.