blob: a008171bedaf7f5043761b3899c5138ee95617e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import Autosave from '../../autosave';
export default {
methods: {
initAutoSave() {
this.autosave = new Autosave($(this.$refs.noteForm.$refs.textarea), ['Note', 'Issue', this.note.id], 'issue');
},
resetAutoSave() {
this.autosave.reset();
},
setAutoSave() {
this.autosave.save();
},
},
};
|