diff options
author | Fatih Acet <acetfatih@gmail.com> | 2018-07-16 15:35:04 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2018-07-18 13:55:57 +0300 |
commit | e95be13d4d75ed52b64ef87f7e0b2c98e2ec1af9 (patch) | |
tree | a760257c83623221fa8fdf5fb0d26b9ec411555a /app/assets/javascripts/notes/mixins | |
parent | 01aa7752ef9b6bac2f9fbcf912ab4fc87c0075f1 (diff) |
Add disposeAutoSave method autosave mixin.
Diffstat (limited to 'app/assets/javascripts/notes/mixins')
-rw-r--r-- | app/assets/javascripts/notes/mixins/autosave.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/notes/mixins/autosave.js b/app/assets/javascripts/notes/mixins/autosave.js index f5664fa608e..4f45f912479 100644 --- a/app/assets/javascripts/notes/mixins/autosave.js +++ b/app/assets/javascripts/notes/mixins/autosave.js @@ -23,5 +23,8 @@ export default { setAutoSave() { this.autosave.save(); }, + disposeAutoSave() { + this.autosave.dispose(); + }, }, }; |