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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
425dbdd2
Commit
425dbdd2
authored
Jul 26, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed label subscription & merge conflicts
parent
887227e0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+9
-2
app/assets/javascripts/init_legacy_filters.js
app/assets/javascripts/init_legacy_filters.js
+2
-1
app/assets/javascripts/merge_conflicts/merge_conflicts_bundle.js
...ets/javascripts/merge_conflicts/merge_conflicts_bundle.js
+3
-0
No files found.
app/assets/javascripts/dispatcher.js
View file @
425dbdd2
...
...
@@ -263,7 +263,6 @@ import initIssuableSidebar from './init_issuable_sidebar';
new
ZenMode
();
new
gl
.
GLForm
(
$
(
'
.release-form
'
),
true
);
break
;
case
'
projects:merge_requests:conflicts:show
'
:
case
'
projects:merge_requests:show
'
:
new
gl
.
Diff
();
shortcut_handler
=
new
ShortcutsIssuable
(
true
);
...
...
@@ -381,7 +380,15 @@ import initIssuableSidebar from './init_issuable_sidebar';
if
(
$
(
'
.prioritized-labels
'
).
length
)
{
new
gl
.
LabelManager
();
}
new
gl
.
ProjectLabelSubscription
(
'
.label-subscription
'
);
$
(
'
.label-subscription
'
).
each
((
i
,
el
)
=>
{
const
$el
=
$
(
el
);
if
(
$el
.
find
(
'
.dropdown-group-label
'
).
length
)
{
new
gl
.
GroupLabelSubscription
(
$el
);
}
else
{
new
gl
.
ProjectLabelSubscription
(
$el
);
}
});
break
;
case
'
projects:network:show
'
:
// Ensure we don't create a particular shortcut handler here. This is
...
...
app/assets/javascripts/init_legacy_filters.js
View file @
425dbdd2
/* eslint-disable no-new */
/* global UsersSelect */
/* global LabelsSelect */
/* global MilestoneSelect */
/* global IssueStatusSelect */
/* global SubscriptionSelect */
import
UsersSelect
from
'
./users_select
'
;
export
default
()
=>
{
new
UsersSelect
();
new
LabelsSelect
();
...
...
app/assets/javascripts/merge_conflicts/merge_conflicts_bundle.js
View file @
425dbdd2
...
...
@@ -2,6 +2,7 @@
/* global Flash */
import
Vue
from
'
vue
'
;
import
initIssuableSidebar
from
'
../init_issuable_sidebar
'
;
import
'
./merge_conflict_store
'
;
import
'
./merge_conflict_service
'
;
import
'
./mixins/line_conflict_utils
'
;
...
...
@@ -19,6 +20,8 @@ $(() => {
resolveConflictsPath
:
conflictsEl
.
dataset
.
resolveConflictsPath
});
initIssuableSidebar
();
gl
.
MergeConflictsResolverApp
=
new
Vue
({
el
:
'
#conflicts
'
,
data
:
mergeConflictsStore
.
state
,
...
...
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