scratch
/quickload/text.html |
@@ -107,7 +107,15 @@ |
}); |
|
// Retrieve the contents of the shared file. |
$.get('share-text.php').done((data) => { |
$.get('share-text.php', |
{ |
headers: { |
'Cache-Control': 'no-cache, no-store, must-revalidate', |
'Pragma': 'no-cache', |
'Expires': '0' |
}, |
cache: false |
}).done((data) => { |
$('#trumbowyg') |
.trumbowyg('html', data); |
$('#trumbowyg').trumbowyg('enable'); |
@@ -136,6 +144,11 @@ |
url: 'upload-files.php', |
type: 'POST', |
data: formData, |
headers: { |
'Cache-Control': 'no-cache, no-store, must-revalidate', |
'Pragma': 'no-cache', |
'Expires': '0' |
}, |
cache: false, |
processData: false, |
contentType: false |