diff options
author | plegall <plg@piwigo.org> | 2012-09-18 08:29:31 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2012-09-18 08:29:31 +0000 |
commit | dc70afc4ac1caf7c30a95ec1ddf2259863c2fe2f (patch) | |
tree | be8667e8d6f2906e57feb252f27c4efc49ebde90 /themes | |
parent | 34e88240efb2ef5b2bc4aa31fc24fde6ceafb42d (diff) |
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
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/template/picture.tpl | 1 |
1 files changed, 1 insertions, 0 deletions
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() { </a><br> {/foreach} {if isset($U_ORIGINAL)} + {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} <a href="javascript:phpWGOpenWindow('{$U_ORIGINAL}','xxx','scrollbars=yes,toolbar=no,status=no,resizable=yes')" rel="nofollow">{'Original'|@translate}</a> {/if} </div> |