[FIX] portal: move jSignatureCustom.js file to common assets

Indeed this lib is used either in frontend and backend. Portal modules
uses it in frontend (sale to sign orders in customer portal). eSign
uses it in backend. Let us therefore put it in common assets.
This commit is contained in:
Deep Patel
2017-09-11 10:49:38 +02:00
committed by Thibault Delavallée
parent a06f8f6b45
commit e9542e4d24
+5
View File
@@ -12,6 +12,11 @@
<script type="text/javascript" src="/portal/static/src/js/portal_tour.js"></script>
<script type="text/javascript" src="/portal/static/src/js/portal_chatter.js"></script>
<script type="text/javascript" src="/portal/static/src/js/portal_signature.js"></script>
</xpath>
</template>
<template id="assets_common" inherit_id="web.assets_common" name="Portal Common Assets">
<xpath expr="script[last()]" position="after">
<script type="text/javascript" src="/web/static/lib/jSignature/jSignatureCustom.js"></script>
</xpath>
</template>