mirror of https://github.com/OCA/web.git
commit
9638ae9ce3
|
@ -442,6 +442,7 @@ odoo.define('web_responsive', function (require) {
|
|||
* The executed action
|
||||
*/
|
||||
_hideMenusByAction: function (action) {
|
||||
_.defer(function () {
|
||||
var uniq_sel = '[data-action-id='+action.id+']';
|
||||
// Need close AppDrawer?
|
||||
var menu_apps_dropdown = document.querySelector(
|
||||
|
@ -458,6 +459,7 @@ odoo.define('web_responsive', function (require) {
|
|||
var menu_sections_mobile = document.querySelector(
|
||||
'.o_menu_sections.show');
|
||||
$(menu_sections_mobile).has(uniq_sel).collapse('hide');
|
||||
});
|
||||
},
|
||||
|
||||
_handleAction: function (action) {
|
||||
|
|
Loading…
Reference in New Issue