Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3512 Tampilan

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?

Avatar
Buang
Jawaban Terbai

Some examples in the OCA will help you.

github.com/OCA/web/

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Agu 23
3411
Override JS mail Diselesaikan
3
Jul 21
5619
1
Mei 23
2795
2
Mei 19
6138
2
Apr 19
3859