mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 03:19:24 +02:00
make sure boundary in script upload is followed by new line
This commit is contained in:
parent
40cdba203d
commit
58b426590f
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ $(document).ready(function(){
|
||||||
+ 'Content-type: application/javascript\r\n\r\n'
|
+ 'Content-type: application/javascript\r\n\r\n'
|
||||||
// add the script
|
// add the script
|
||||||
+ script + '\r\n'
|
+ script + '\r\n'
|
||||||
+ '--' + boundary + '--';
|
+ '--' + boundary + '--\r\n';
|
||||||
|
|
||||||
var headers = {};
|
var headers = {};
|
||||||
if ($('#instance-field input').val()) {
|
if ($('#instance-field input').val()) {
|
||||||
|
|
Loading…
Reference in a new issue