تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3072 أدوات العرض

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/

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أغسطس 23
3009
Override JS mail تم الحل
3
يوليو 21
5312
1
مايو 23
2466
2
مايو 19
5614
2
أبريل 19
3481