~jfb-tempo-consulting/unifield-web/us-3172

« back to all changes in this revision

Viewing changes to addons/openerp/static/javascript/web_keyboard_shortcuts.js

  • Committer: jf
  • Date: 2017-12-06 15:27:10 UTC
  • Revision ID: jfb@tempo-consulting.fr-20171206152710-59xicjrh8vhf7g8p
[FIX] Tooltips on Close (in m2o popup) and Clean (search view)

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
            else if (key == '13'){
52
52
                class_to_parse = '.oe_form_button_search';
53
53
            }
 
54
            else if (key == 'R'){
 
55
                class_to_parse = '.oe_form_button_clear';
 
56
            }
54
57
            else if (key == '38'){
55
58
                class_to_parse = '.oe_button_pager[action="first"]';
56
59
            }
63
66
            else if (key == '40'){
64
67
                class_to_parse = '.oe_button_pager[action="last"]';
65
68
            }
 
69
            else if (key=='Q'){
 
70
                class_to_parse = '.oe_form_button_close';
 
71
            }
66
72
            if (class_to_parse != null){
67
73
                //$('.oe_form_button_save')
68
74
                $(class_to_parse).each(function() {