make sure boundary in script upload is followed by new line

This commit is contained in:
Stephen Birarda 2014-01-17 11:38:24 -08:00
parent 40cdba203d
commit 58b426590f

View file

@ -19,7 +19,7 @@ $(document).ready(function(){
+ 'Content-type: application/javascript\r\n\r\n'
// add the script
+ script + '\r\n'
+ '--' + boundary + '--';
+ '--' + boundary + '--\r\n';
var headers = {};
if ($('#instance-field input').val()) {