Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
7532 Vizualizări

 Is there a way to remove or override base js files asseted. i want to disable some file thanks

Imagine profil
Abandonează
Cel mai bun răspuns

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>
Imagine profil
Abandonează
Autor

thank you!

Related Posts Răspunsuri Vizualizări Activitate
1
iun. 23
2068
1
mai 23
2004
1
oct. 22
4168
2
iul. 22
3127
0
mai 20
3196