summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2017-04-03 11:41:28 +0530
committerKushal Pandya <kushal@gitlab.com>2017-04-03 11:41:28 +0530
commit8d232b2f2b1b4d33741925a0baf2eaf74f52008e (patch)
tree0b22c95950850ec84d5af0820931e1cea11ccd13
parentbbb09feaa1b535e10b20790d1857385bd34ae5f6 (diff)
downloadgitlab-ce-8d232b2f2b1b4d33741925a0baf2eaf74f52008e.tar.gz
Initialize Protected Tags Edit functionality
-rw-r--r--app/assets/javascripts/dispatcher.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js
index 6234092bdc2..d384927cc5b 100644
--- a/app/assets/javascripts/dispatcher.js
+++ b/app/assets/javascripts/dispatcher.js
@@ -318,9 +318,12 @@ const UserCallout = require('./user_callout');
new Search();
break;
case 'projects:repository:show':
+ // Initialize Protected Branch Settings
new gl.ProtectedBranchCreate();
new gl.ProtectedBranchEditList();
+ // Initialize Protected Tag Settings
new gl.ProtectedTagCreate();
+ new gl.ProtectedTagEditList();
break;
case 'projects:ci_cd:show':
new gl.ProjectVariables();