Error while saving message
This commit is contained in:
parent
252d877f1c
commit
9f51bff58c
|
@ -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
0
list-editor/util.js
Normal file
Loading…
Reference in New Issue
Block a user