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
This commit is contained in:
plegall 2012-09-18 08:29:31 +00:00
parent 34e88240ef
commit dc70afc4ac

View file

@ -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>