1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-26 11:02:31 +01:00

Merge pull request #213 from schrej/patch-1

fix adding current path to new file in filemanager twice
This commit is contained in:
Dane Everitt 2016-12-14 11:45:45 -05:00 committed by GitHub
commit c3775f4164

View File

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