aboutsummaryrefslogtreecommitdiffstats
path: root/jm2l/templates/Logistique/Logistique.mako
diff options
context:
space:
mode:
authortr4ck3ur <tr4ck3ur@style-python.fr>2015-02-14 03:40:14 +0100
committertr4ck3ur <tr4ck3ur@style-python.fr>2015-02-14 03:40:14 +0100
commitbf7fdc00bfecee47a3d5025de077bb0640dd3146 (patch)
treeb0d0a8e004540bc4f1ca375f13903e7947657253 /jm2l/templates/Logistique/Logistique.mako
parentc7a0ac5eb2b879d98c986d5c3583ef34737f0a61 (diff)
downloadjm2l-bf7fdc00bfecee47a3d5025de077bb0640dd3146.tar.gz
jm2l-bf7fdc00bfecee47a3d5025de077bb0640dd3146.tar.bz2
jm2l-bf7fdc00bfecee47a3d5025de077bb0640dd3146.tar.xz
jm2l-bf7fdc00bfecee47a3d5025de077bb0640dd3146.zip
Many changes to reorganize third party javascript
Diffstat (limited to 'jm2l/templates/Logistique/Logistique.mako')
-rw-r--r--jm2l/templates/Logistique/Logistique.mako12
1 files changed, 8 insertions, 4 deletions
diff --git a/jm2l/templates/Logistique/Logistique.mako b/jm2l/templates/Logistique/Logistique.mako
index 2037973..48c1b05 100644
--- a/jm2l/templates/Logistique/Logistique.mako
+++ b/jm2l/templates/Logistique/Logistique.mako
@@ -172,10 +172,14 @@ elif Type=='M':
</tbody>
</table>
- <script>
- $('#${Type}_Props').tooltip()
- $('#${Type}_Demande').tooltip()
- </script>
+<%
+ context._kwargs['postpone_js'].append( "$('#%s_Props').tooltip();" % Type )
+ context._kwargs['postpone_js'].append( "$('#%s_Demande').tooltip();" % Type )
+%>
+## <script>
+## $('#${Type}_Props').tooltip()
+## $('#${Type}_Demande').tooltip()
+## </script>
</%def>
## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=