1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-09 15:35:25 +02:00

remove unused code

This commit is contained in:
Peter Savchenko 2018-10-03 21:24:34 +03:00
parent 8f84303536
commit 96e4620df8
No known key found for this signature in database
GPG key ID: 63E739583C761566
2 changed files with 1 additions and 8 deletions

File diff suppressed because one or more lines are too long

View file

@ -73,13 +73,6 @@ export default class Writing {
*/
async saveButtonClicked(){
const writingData = await this.getData();
let formData = new FormData();
for ( let field in writingData ){
if (!writingData.hasOwnProperty(field)) {
formData.append(field, writingData[field])
}
}
fetch('/page', {
method: 'PUT',