Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3070 Prikazi

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
Opusti
Best Answer

Some examples in the OCA will help you.

github.com/OCA/web/

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
avg. 23
3009
3
jul. 21
5312
1
maj 23
2466
2
maj 19
5613
2
apr. 19
3478