Skip to content

Commit

Permalink
ic:linting
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Jan 1, 2017
1 parent 956916b commit a767986
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/server/public/abejs/scripts/modules/FormCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,16 +233,16 @@ export default class FormCreate {
headers: {},
method: 'post'
},
(code, responseText) => {
this._isSaving = false
var jsonRes = JSON.parse(responseText)
if (jsonRes.success == 1 && jsonRes.json != null && jsonRes.json.abe_meta != null) {
window.location.href = window.location.origin + '/abe/editor' + jsonRes.json.abe_meta.link
}else {
console.log(responseText)
alert('error')
}
})
(code, responseText) => {
this._isSaving = false
var jsonRes = JSON.parse(responseText)
if (jsonRes.success == 1 && jsonRes.json != null && jsonRes.json.abe_meta != null) {
window.location.href = window.location.origin + '/abe/editor' + jsonRes.json.abe_meta.link
}else {
console.log(responseText)
alert('error')
}
})
}
}

Expand Down

0 comments on commit a767986

Please sign in to comment.