BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
c2c255e8
Commit
c2c255e8
authored
Jul 19, 2017
by
kushalpandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Protected Branches feature initialization
parent
584f323a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
dispatcher.js
app/assets/javascripts/dispatcher.js
+3
-2
No files found.
app/assets/javascripts/dispatcher.js
View file @
c2c255e8
...
...
@@ -40,6 +40,7 @@ import BlobLinePermalinkUpdater from './blob/blob_line_permalink_updater';
import
Landing
from
'./landing'
;
import
BlobForkSuggestion
from
'./blob/blob_fork_suggestion'
;
import
UserCallout
from
'./user_callout'
;
import
{
ProtectedBranchCreate
,
ProtectedBranchEditList
}
from
'./protected_branches'
;
import
{
ProtectedTagCreate
,
ProtectedTagEditList
}
from
'./protected_tags'
;
import
ShortcutsWiki
from
'./shortcuts_wiki'
;
import
Pipelines
from
'./pipelines'
;
...
...
@@ -391,8 +392,8 @@ import PerformanceBar from './performance_bar';
break
;
case
'projects:settings:repository:show'
:
// Initialize Protected Branch Settings
new
gl
.
ProtectedBranchCreate
();
new
gl
.
ProtectedBranchEditList
();
new
ProtectedBranchCreate
();
new
ProtectedBranchEditList
();
// Initialize Protected Tag Settings
new
ProtectedTagCreate
();
new
ProtectedTagEditList
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment