Is there a way to remove or override base js files asseted. i want to disable some file thanks
Pertanyaan ini telah diberikan tanda
1
Balas
10161
Tampilan
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!
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
|
1
Jun 23
|
3877 | ||
|
|
1
Mei 23
|
3780 | ||
|
|
1
Okt 22
|
6120 | ||
|
|
2
Jul 22
|
5386 | ||
|
|
0
Mei 20
|
4591 |