Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3249 Представления

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
3263
Override JS mail Решено
3
июл. 21
5473
1
мая 23
2641
2
мая 19
5904
2
апр. 19
3657