Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-05-30 13:58:50 +0300
committerPhil Hughes <me@iamphill.com>2017-05-30 13:58:50 +0300
commitdf7c90116ba1203f1cb1150bb99fa5a4c99e0280 (patch)
tree85c6c5ed86f2372ff3ebdfc6a888cbf7540a44dc /app/assets/javascripts/issue_show/stores
parent3465e1e52c812a4a4f4fe941ab04569ebf2a2c12 (diff)
fixed issuable shortcuts not working
moved setstate method into store
Diffstat (limited to 'app/assets/javascripts/issue_show/stores')
-rw-r--r--app/assets/javascripts/issue_show/stores/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/issue_show/stores/index.js b/app/assets/javascripts/issue_show/stores/index.js
index fbb95866671..4a16c3cb4dc 100644
--- a/app/assets/javascripts/issue_show/stores/index.js
+++ b/app/assets/javascripts/issue_show/stores/index.js
@@ -38,4 +38,8 @@ export default class Store {
description: this.state.descriptionText !== data.description_text,
};
}
+
+ setFormState(state) {
+ this.formState = Object.assign(this.formState, state);
+ }
}