Is there a way to remove or override base js files asseted. i want to disable some file thanks
This question has been flagged
1
Reply
10312
डेटा देखने का तरीका
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!
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
साइन अप करें| Related Posts | Replies | डेटा देखने का तरीका | ऐक्टिविटी | |
|---|---|---|---|---|
|
|
1
जून 23
|
4012 | ||
|
|
1
मई 23
|
3873 | ||
|
|
1
अक्तू॰ 22
|
6284 | ||
|
|
2
जुल॰ 22
|
5498 | ||
|
|
0
मई 20
|
4681 |