Error while saving message

This commit is contained in:
Peter Stuifzand 2020-10-30 23:42:29 +01:00
parent 252d877f1c
commit 9f51bff58c
2 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,9 @@ function addIndicator(editor, indicator) {
editor.save().then(() => { editor.save().then(() => {
indicator.setText('saved!'); indicator.setText('saved!');
indicator.done(); indicator.done();
}).catch(() => {
console.log('error while saving')
indicator.done();
}) })
} }
} }

0
list-editor/util.js Normal file
View File