Is there a way to remove or override base js files asseted. i want to disable some file thanks
لقد تم الإبلاغ عن هذا السؤال
1
الرد
10189
أدوات العرض
Yes, you can just inherit web.assets_backend and xpath target what want to remove.
Like this :
<template id="assets_common" inherit_id="web.assets_common">
<xpath expr="script[@src='/password_security/static/src/js/password_gauge.js']" position="replace"/>
<xpath expr="script[@src='/password_security/static/lib/zxcvbn/zxcvbn.min.js']" position="replace"/>
</template>
thank you!
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيل| المنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
|---|---|---|---|---|
|
|
1
يونيو 23
|
3896 | ||
|
|
1
مايو 23
|
3787 | ||
|
|
1
أكتوبر 22
|
6126 | ||
|
|
2
يوليو 22
|
5415 | ||
|
|
0
مايو 20
|
4602 |