Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3074 Переглядів

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?

Аватар
Відмінити
Найкраща відповідь

Some examples in the OCA will help you.

github.com/OCA/web/

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
серп. 23
3009
Override JS mail Вирішено
3
лип. 21
5312
1
трав. 23
2466
2
трав. 19
5614
2
квіт. 19
3481