diff options
author | Phil Hughes <me@iamphill.com> | 2018-11-09 11:04:13 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-11-09 11:04:13 +0000 |
commit | 5796221bc4de2a498777a4a0abf1c3d5a2d35891 (patch) | |
tree | 8afd24fb62393da919127c891b2c9a4867cc216a /app/assets/javascripts/notes/components/comment_form.vue | |
parent | cfedc31b7a2595922e0aa19bf63a679fe0bd6669 (diff) | |
download | gitlab-ce-5796221bc4de2a498777a4a0abf1c3d5a2d35891.tar.gz |
Fix TaskList init on update & poll
Fixed duplicate TaskList requests being made
Diffstat (limited to 'app/assets/javascripts/notes/components/comment_form.vue')
-rw-r--r-- | app/assets/javascripts/notes/components/comment_form.vue | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/assets/javascripts/notes/components/comment_form.vue b/app/assets/javascripts/notes/components/comment_form.vue index 754c6e79ee4..10e80883c00 100644 --- a/app/assets/javascripts/notes/components/comment_form.vue +++ b/app/assets/javascripts/notes/components/comment_form.vue @@ -6,7 +6,6 @@ import Autosize from 'autosize'; import { __, sprintf } from '~/locale'; import Flash from '../../flash'; import Autosave from '../../autosave'; -import TaskList from '../../task_list'; import { capitalizeFirstCharacter, convertToCamelCase, @@ -146,7 +145,6 @@ export default { }); this.initAutoSave(); - this.initTaskList(); }, methods: { ...mapActions([ @@ -298,13 +296,6 @@ Please check your network connection and try again.`; ]); } }, - initTaskList() { - return new TaskList({ - dataType: 'note', - fieldName: 'note', - selector: '.notes', - }); - }, resizeTextarea() { this.$nextTick(() => { Autosize.update(this.$refs.textarea); |