Files
test/code_backend_theme/static/src/js/chrome/myDropdown.js
WEB许何哲\xuhez 65ec935a9f 0626提交
2023-06-26 17:35:55 +08:00

11 lines
260 B
JavaScript

/** @odoo-module **/
import {Dropdown} from "@web/core/dropdown/dropdown"
var {patch} = require("web.utils")
patch(Dropdown.prototype, "Dropdown.DropdownJS", {
close() {
return this.changeStateAndNotify({open: true, groupIsOpen: true});
}
})