Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2996 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

Some examples in the OCA will help you.

github.com/OCA/web/

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sie 23
2951
Override JS mail Rozwiązane
3
lip 21
5230
1
maj 23
2389
2
maj 19
5464
2
kwi 19
3408