Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f39af216
Commit
f39af216
authored
Jan 12, 2018
by
Clement Ho
Committed by
Phil Hughes
Jan 12, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor dispatcher project branches path (EE)
parent
839f0ce8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+3
-4
app/assets/javascripts/pages/projects/branches/index/index.js
...assets/javascripts/pages/projects/branches/index/index.js
+7
-0
No files found.
app/assets/javascripts/dispatcher.js
View file @
f39af216
...
...
@@ -32,7 +32,6 @@ import CommitsList from './commits';
import
Issue
from
'
./issue
'
;
import
BindInOut
from
'
./behaviors/bind_in_out
'
;
import
SecretValues
from
'
./behaviors/secret_values
'
;
import
DeleteModal
from
'
./branches/branches_delete_modal
'
;
import
Group
from
'
./group
'
;
import
ProjectsList
from
'
./projects_list
'
;
import
setupProjectEdit
from
'
./project_edit
'
;
...
...
@@ -57,7 +56,6 @@ import GpgBadges from './gpg_badges';
import
initChangesDropdown
from
'
./init_changes_dropdown
'
;
import
NewGroupChild
from
'
./groups/new_group_child
'
;
import
{
ajaxGet
,
convertPermissionToBoolean
}
from
'
./lib/utils/common_utils
'
;
import
AjaxLoadingSpinner
from
'
./ajax_loading_spinner
'
;
import
GlFieldErrors
from
'
./gl_field_errors
'
;
import
GLForm
from
'
./gl_form
'
;
import
Shortcuts
from
'
./shortcuts
'
;
...
...
@@ -246,8 +244,9 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line
new
NewBranchForm
(
$
(
'
.js-create-branch-form
'
),
JSON
.
parse
(
document
.
getElementById
(
'
availableRefs
'
).
innerHTML
));
break
;
case
'
projects:branches:index
'
:
AjaxLoadingSpinner
.
init
();
new
DeleteModal
();
import
(
'
./pages/projects/branches/index
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
projects:issues:new
'
:
case
'
projects:issues:edit
'
:
...
...
app/assets/javascripts/pages/projects/branches/index/index.js
0 → 100644
View file @
f39af216
import
AjaxLoadingSpinner
from
'
~/ajax_loading_spinner
'
;
import
DeleteModal
from
'
~/branches/branches_delete_modal
'
;
export
default
()
=>
{
AjaxLoadingSpinner
.
init
();
new
DeleteModal
();
// eslint-disable-line no-new
};
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