Delete draft when submitting case study (#52)

This commit is contained in:
2018-04-16 10:57:05 +10:00
parent 054668e1e8
commit a41df71793
2 changed files with 6 additions and 4 deletions

View File

@ -533,10 +533,6 @@ function initDrafts() {
button.switchStateSaveFailed();
})
})
document.forms['case-study-form'].addEventListener('submit', () => {
// XXX We're submitting, so kosh the saved data
})
}
// https://github.com/snikch/jquery.dirtyforms