mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] web_responsive: Don't show menu if waiting for an action to end
This commit is contained in:
committed by
Sergey Shebanin
parent
04b298353a
commit
14859ab4a9
@@ -351,6 +351,17 @@ odoo.define('web_responsive', function (require) {
|
|||||||
return this._super.apply(this, arguments);
|
return this._super.apply(this, arguments);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Don't display the menu if are waiting for an action to end
|
||||||
|
*
|
||||||
|
* @override
|
||||||
|
*/
|
||||||
|
_onMouseOverMenu: function () {
|
||||||
|
if ($('.oe_wait').length === 0) {
|
||||||
|
this._super.apply(this, arguments);
|
||||||
|
}
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
RelationalFields.FieldStatus.include({
|
RelationalFields.FieldStatus.include({
|
||||||
|
|||||||
Reference in New Issue
Block a user