summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/issue_show/index.js
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-05-12 12:54:10 +0100
committerPhil Hughes <me@iamphill.com>2017-05-15 12:15:56 +0100
commitb1affe07a1ff0b7f10cdc94b91dfea97d92b015c (patch)
tree68c11c33cceedb2761fcead85ab0b0d1d70a036c /app/assets/javascripts/issue_show/index.js
parent478812543ce82dbfc7a408706aa94ab870443735 (diff)
downloadgitlab-ce-b1affe07a1ff0b7f10cdc94b91dfea97d92b015c.tar.gz
Issue inline edit title field
[ci skip]
Diffstat (limited to 'app/assets/javascripts/issue_show/index.js')
-rw-r--r--app/assets/javascripts/issue_show/index.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/app/assets/javascripts/issue_show/index.js b/app/assets/javascripts/issue_show/index.js
index 246ccf66323..58a8d0590e1 100644
--- a/app/assets/javascripts/issue_show/index.js
+++ b/app/assets/javascripts/issue_show/index.js
@@ -35,25 +35,8 @@ document.addEventListener('DOMContentLoaded', () => {
initialTitle: issuableTitleElement.innerHTML,
initialDescriptionHtml: issuableDescriptionElement ? issuableDescriptionElement.innerHTML : '',
initialDescriptionText: issuableDescriptionTextarea ? issuableDescriptionTextarea.textContent : '',
- showForm: false,
};
},
- methods: {
- openForm() {
- this.showForm = true;
- },
- closeForm() {
- this.showForm = false;
- },
- },
- created() {
- eventHub.$on('open.form', this.openForm);
- eventHub.$on('close.form', this.closeForm);
- },
- beforeDestroy() {
- eventHub.$off('open.form', this.openForm);
- eventHub.$off('close.form', this.closeForm);
- },
render(createElement) {
return createElement('issuable-app', {
props: {