mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_responsive: Close AppDrawer
This commit is contained in:
committed by
Sergey Shebanin
parent
e8e2c88739
commit
a4d55a8a0b
@@ -5,7 +5,7 @@
|
|||||||
{
|
{
|
||||||
"name": "Web Responsive",
|
"name": "Web Responsive",
|
||||||
"summary": "Responsive web client, community-supported",
|
"summary": "Responsive web client, community-supported",
|
||||||
"version": "12.0.1.1.0",
|
"version": "12.0.1.1.1",
|
||||||
"category": "Website",
|
"category": "Website",
|
||||||
"website": "https://github.com/OCA/web",
|
"website": "https://github.com/OCA/web",
|
||||||
"author": "LasLabs, Tecnativa, Alexandre Díaz, "
|
"author": "LasLabs, Tecnativa, Alexandre Díaz, "
|
||||||
|
|||||||
@@ -396,8 +396,9 @@ odoo.define('web_responsive', function (require) {
|
|||||||
_hideMenusByAction: function (action) {
|
_hideMenusByAction: function (action) {
|
||||||
var uniq_sel = '[data-action-id='+action.id+']';
|
var uniq_sel = '[data-action-id='+action.id+']';
|
||||||
// Need close AppDrawer?
|
// Need close AppDrawer?
|
||||||
$(_.str.sprintf('.o_menu_apps .dropdown.show:has(%s)', uniq_sel))
|
$(_.str.sprintf(
|
||||||
.dropdown('toggle');
|
'.o_menu_apps .dropdown:has(.dropdown-menu.show:has(%s)) > a',
|
||||||
|
uniq_sel)).dropdown('toggle');
|
||||||
// Need close Sections Menu?
|
// Need close Sections Menu?
|
||||||
// TODO: Change to 'hide' in modern Bootstrap >4.1
|
// TODO: Change to 'hide' in modern Bootstrap >4.1
|
||||||
$(_.str.sprintf(
|
$(_.str.sprintf(
|
||||||
|
|||||||
Reference in New Issue
Block a user