From 30ba281af0ace8c31862e9260339e6e4d321fb53 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Tue, 17 Jul 2012 09:51:52 +0200 Subject: [ADD] enable accesskeys (=shortcuts) They are translatable (changes in npybabel.py), a visual hint for the shortcuts to use will be added by a yet-to-be-written web module. bzr revid: hbrunn@therp.nl-20120717075152-gz2ktbme3k388vd6 --- addons/web/static/src/js/coresetup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/src/js/coresetup.js') diff --git a/addons/web/static/src/js/coresetup.js b/addons/web/static/src/js/coresetup.js index a5a62b9bcc1..28969d3e152 100644 --- a/addons/web/static/src/js/coresetup.js +++ b/addons/web/static/src/js/coresetup.js @@ -600,7 +600,7 @@ instance.web.qweb.preprocess_node = function() { break; case 1: // Element - var attr, attrs = ['label', 'title', 'alt', 'placeholder']; + var attr, attrs = ['label', 'title', 'alt', 'placeholder', 'accesskey']; while (attr = attrs.pop()) { if (this.attributes[attr]) { this.attributes[attr] = instance.web._t(this.attributes[attr]); -- cgit v1.2.3