Is there a way to remove or override base js files asseted. i want to disable some file thanks
Esta pregunta ha sido marcada
1
Responder
10174
Vistas
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!
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Inscribirse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
1
jun 23
|
3893 | ||
|
|
1
may 23
|
3785 | ||
|
|
1
oct 22
|
6124 | ||
|
|
2
jul 22
|
5406 | ||
|
|
0
may 20
|
4596 |