Merge pull request #213 from schrej/patch-1
fix adding current path to new file in filemanager twice
This commit is contained in:
commit
c3775f4164
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue