From dc70afc4ac1caf7c30a95ec1ddf2259863c2fe2f Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 18 Sep 2012 08:29:31 +0000 Subject: bug 2748 fixed: make sure scripts.js is loaded when we need phpWGOpenWindow git-svn-id: http://piwigo.org/svn/branches/2.4@17978 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/picture.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index 345d78b03..f880b72d8 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -55,6 +55,7 @@ jQuery("#derivativeSwitchBox").on("mouseleave click", function() {
{/foreach} {if isset($U_ORIGINAL)} + {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} {'Original'|@translate} {/if} -- cgit v1.2.3