Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3071 Lượt xem

Hi

i have a javascript file and it has options.registry['some_thing'] = options.Class.extend({.............}) in it

so i want to override this in another JS file(let's call it custom.js) but in console it rejects my custom.js file by logging Rejected Modules {custom.js}

is there a way to override this?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Some examples in the OCA will help you.

github.com/OCA/web/

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 23
3009
Override JS mail Đã xử lý
3
thg 7 21
5312
1
thg 5 23
2466
2
thg 5 19
5614
2
thg 4 19
3479