mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_responsive: Change edit accesskey
* Change accesskey for `edit` in form view back to `e` to fix #587
This commit is contained in:
committed by
Angel Moya Pardo
parent
c0d0adef6d
commit
572157a572
@@ -1,5 +1,5 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2016 LasLabs Inc.
|
# Copyright 2016-2017 LasLabs Inc.
|
||||||
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
|
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
|
||||||
|
|
||||||
{
|
{
|
||||||
@@ -19,4 +19,7 @@
|
|||||||
'views/assets.xml',
|
'views/assets.xml',
|
||||||
'views/web.xml',
|
'views/web.xml',
|
||||||
],
|
],
|
||||||
|
'qweb': [
|
||||||
|
'static/src/xml/form_view.xml',
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
15
web_responsive/static/src/xml/form_view.xml
Normal file
15
web_responsive/static/src/xml/form_view.xml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright 2017 LasLabs Inc.
|
||||||
|
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
|
||||||
|
-->
|
||||||
|
|
||||||
|
<templates id="form_view" xml:space="preserve">
|
||||||
|
|
||||||
|
<t t-extend="FormView.buttons">
|
||||||
|
<t t-jquery="button[accesskey='a']" t-operation="attributes">
|
||||||
|
<attribute name="accesskey">e</attribute>
|
||||||
|
</t>
|
||||||
|
</t>
|
||||||
|
|
||||||
|
</templates>
|
||||||
Reference in New Issue
Block a user