summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-10-24 23:01:49 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-10-24 23:02:08 +0100
commite6b0f4420059285e1ad6e98d98321381ebd9d671 (patch)
tree45b170619950030c4c41313d339e06a33a049f10
parent3e5bfe5abd70f11224fa934f78a3e68f2038359a (diff)
downloadgitlab-ce-e6b0f4420059285e1ad6e98d98321381ebd9d671.tar.gz
Split project and group milestone dispatcher branch39020-fix-js-call-stack-size-exceeded-autocomplete-group-milestone
-rw-r--r--app/assets/javascripts/dispatcher.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js
index 07535508d59..98b843279aa 100644
--- a/app/assets/javascripts/dispatcher.js
+++ b/app/assets/javascripts/dispatcher.js
@@ -229,6 +229,10 @@ import DueDateSelectors from './due_date_select';
case 'projects:milestones:new':
case 'projects:milestones:edit':
case 'projects:milestones:update':
+ new ZenMode();
+ new DueDateSelectors();
+ new GLForm($('.milestone-form'), true);
+ break;
case 'groups:milestones:new':
case 'groups:milestones:edit':
case 'groups:milestones:update':