Skip to content
Browse files

[IMP]web: when shift+tab is pressed on Save and Discard buttons then …

…set focus back to last widget in form also hide tooltip of Save and Discard button
  • Loading branch information...
msh-odoo committed Mar 26, 2019
1 parent 22afcdb commit 8e6a8e575c7d9b52d20ed68da4f165746589d9c5
Showing with 1 addition and 0 deletions.
  1. +1 −0 addons/web/static/src/js/views/form/form_controller.js
@@ -284,6 +284,7 @@ var FormController = BasicController.extend({
} else if (e.shiftKey &&"btn-primary")) {
// If shift + tab is pressed then set focus back to last active widget
// do not pass index, it will automatically consider last widget from allFieldWidgets

0 comments on commit 8e6a8e5

Please sign in to comment.
You can’t perform that action at this time.