diff options
Diffstat (limited to 'jm2l/templates/modals.mako')
-rw-r--r-- | jm2l/templates/modals.mako | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/jm2l/templates/modals.mako b/jm2l/templates/modals.mako index c72f2bb..83470fb 100644 --- a/jm2l/templates/modals.mako +++ b/jm2l/templates/modals.mako @@ -251,6 +251,9 @@ </div> </%def> \ ## -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= +<% +context._kwargs['postpone_js']=[] +%> %if modtype=='Password': ${ModalPassword(uid, DisplayYear, session)} %elif modtype=='Place': @@ -276,3 +279,9 @@ %elif modtype=='ShowH': ${Dialog.Show('H',Exch)} %endif +## Then Handle Javascript +<script> +% for jsitem in context._kwargs['postpone_js']: +${jsitem} +% endfor +</script> |