fix adding current path to new file in filemanager twice

This commit is contained in:
Jakob 2016-12-14 17:01:26 +01:00 committed by GitHub
parent a85ac87ae8
commit d1d473352f
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ $(window).load(function () {
url: '{{ route('server.files.save', $server->uuidShort) }}',
headers: { 'X-CSRF-Token': '{{ csrf_token() }}' },
data: {
file: '{{ $directory }}' + $('#file_name').val(),
file: $('#file_name').val(),
contents: Editor.getValue()
}
}).done(function (data) {