1
0

Insert/transfer variable from smarty to JS

This commit is contained in:
Garvin Hicking
2012-12-07 15:02:12 +01:00
parent 6368a992f9
commit ebd361c201
3 changed files with 11 additions and 5 deletions

View File

@ -60,6 +60,9 @@
</head>
<script type="text/javascript">
var media_token_url = '{$media.token_url}';
var media_rename = '{$CONST.ENTER_NEW_NAME}';
{if $media.only_path}
if (parent.frames && parent.frames['tree']) {ldelim}
parent.frames['tree'].document.getElementById('newdirlink').href =