Fix and simplify move.

Former-commit-id: 11231eb1b5c72c27228d955860a38e2dfc4c43c3 [formerly 57e14f4919d0759f80557217ff44d85e60fb6686] [formerly 71a61718832107ad72f26aab12810441ecc0c45f [formerly 32e66bb9c6]]
Former-commit-id: 2268fe7634998e21643933753d3122eefaa35e6f [formerly 2b2fa73458b97b20eae798a613c9385db9b80b05]
Former-commit-id: 1d792dfd5cb699068835ae06ae15042524357e53
This commit is contained in:
Henrique Dias committed 2017-07-08 11:12:43 +01:00
1 parent ee55b9fd9c
commit 60718b0eef
5 files changed
+89 -95

No files matched your search

+4
View File
@@ -38,6 +38,10 @@ export default {
document.getElementById('save-button').removeEventListener('click', this.save)
},
mounted: function () {
if (this.req.content === undefined || this.req.content === null) {
this.req.content = ''
}
// Set up the main content editor.
this.content = CodeMirror(document.getElementById('editor'), {
value: this.req.content,