FTP user field hint is now using current environment user name as prefix

js global variable GLOBAL.FTP_USER_PREFIX is affected
This commit is contained in:
dmitry.malishev 2013-07-15 16:17:22 +03:00
commit 8be65cf31d
4 changed files with 12 additions and 0 deletions

View file

@ -337,4 +337,7 @@
</tr>
</table>
</form>
<script type="text/javascript">
GLOBAL.FTP_USER_PREFIX = '<?php echo $user; ?>_';
</script>
<script type="text/javascript" src="/js/pages/edit.web.js"></script>