X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fcore%2Fplwizard.tpl;h=a1ea50e563fe038f31b6ec638ebb522ef3396bed;hb=46ae38a91773bca3645e78488aa0dae55d5dd574;hp=095765d4ab9a47d0bfbd5d5ea8cc6178875b02e6;hpb=908db125b895b963213e75c16d6428d36e866b04;p=platal.git diff --git a/templates/core/plwizard.tpl b/templates/core/plwizard.tpl index 095765d..a1ea50e 100644 --- a/templates/core/plwizard.tpl +++ b/templates/core/plwizard.tpl @@ -38,6 +38,9 @@ $(".wiz_tab").removeClass("active"); $("#wiz_tab_" + id).addClass("active"); $(".wiz_content").html(data).fadeIn('normal'); + if (typeof wizPage_onLoad == 'function') { + wizPage_onLoad(id); + } }); } }); @@ -52,6 +55,14 @@ } {/literal} {/if} + {literal} + $(document).ready( + function() { + if (typeof wizPage_onLoad == 'function') { + wizPage_onLoad({/literal}'{$lookup[$current]}'{literal}); + } + }); + {/literal} //]]>