Project description

The module enables you to use hotkeys Ctrl+S (Win) and Cmd+S (Mac) instead of clicking on the Save button.
The term "Save button" should be understood in a general sense. So, the submit button may have other names, such as:

'Save block',
'Continue',
'Delete',
'Save permissions',
'Create new account',
'Finish',
'Continue & edit',
'Save and edit',
'Save and continue',
'Save and manage fields',
'Save configuration' and etc.

It should be noted that if these hotkeys are pressed, then browser's 'Save As' dialog does not appear. Therefore, do not give the permissions for this module to ordinary users.

Similar projects

There is 'Hotkey' module, which allow to add 'HTML accesskey Attribute' to form buttons. The accesskey attribute specifies a shortcut key to click on the buttons. But the problem is that the way of accessing the shortcut key is varying in different browsers. Furthermore in Firefox you need to press three keys at the same time, which is not quite convenient. The same situation is with Chrome on Mac (see: HTML accesskey Attribute).

There are also the following modules: 'Keyboard shortcut', 'jQuery Hotkeys' and 'Keyboard Shortcut Utility'. These modules allow you create keyboard shortcuts and associate them to JavaScript functions. However you must create these functions himself. Therefore you need to know JavaScript and spend time to create these functions.

Project page

https://www.drupal.org/project/hotkeys_for_save

Git instructions

git clone https://git.drupalcode.org/project/hotkeys_for_save.git

Comments

wombatbuddy created an issue. See original summary.

wombatbuddy’s picture

Issue summary: View changes
avpaderno’s picture

Assigned: Unassigned » avpaderno
Status: Needs review » Fixed

Thank you for your contribution! I am going to update your account.

These are some recommended readings to help with excellent maintainership:

You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.