From a12e006c89bd43cbbd6c89d826506de8cc09c081 Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 18 Sep 2012 08:40:01 +0000 Subject: [PATCH] merge r17978 from branch 2.4 to trunk bug 2748 fixed: make sure scripts.js is loaded when we need phpWGOpenWindow git-svn-id: http://piwigo.org/svn/trunk@17979 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 4d316c004..616be3d5c 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}