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
56e57355
Commit
56e57355
authored
Jan 15, 2018
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dedupe form
parent
d97309ae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
30 deletions
+22
-30
app/assets/javascripts/pages/projects/issues/edit/index.js
app/assets/javascripts/pages/projects/issues/edit/index.js
+2
-15
app/assets/javascripts/pages/projects/issues/form.js
app/assets/javascripts/pages/projects/issues/form.js
+18
-0
app/assets/javascripts/pages/projects/issues/new/index.js
app/assets/javascripts/pages/projects/issues/new/index.js
+2
-15
No files found.
app/assets/javascripts/pages/projects/issues/edit/index.js
View file @
56e57355
/* eslint-disable no-new */
import
GLForm
from
'
~/gl_form
'
;
import
IssuableForm
from
'
~/issuable_form
'
;
import
LabelsSelect
from
'
~/labels_select
'
;
import
MilestoneSelect
from
'
~/milestone_select
'
;
import
ShortcutsNavigation
from
'
~/shortcuts_navigation
'
;
import
IssuableTemplateSelectors
from
'
~/templates/issuable_template_selectors
'
;
import
WeightSelect
from
'
ee/weight_select
'
;
import
initForm
from
'
../form
'
;
export
default
()
=>
{
new
ShortcutsNavigation
();
new
GLForm
(
$
(
'
.issue-form
'
),
true
);
new
IssuableForm
(
$
(
'
.issue-form
'
));
new
LabelsSelect
();
new
MilestoneSelect
();
new
IssuableTemplateSelectors
();
new
WeightSelect
();
initForm
();
};
app/assets/javascripts/pages/projects/issues/form.js
0 → 100644
View file @
56e57355
/* eslint-disable no-new */
import
GLForm
from
'
~/gl_form
'
;
import
IssuableForm
from
'
~/issuable_form
'
;
import
LabelsSelect
from
'
~/labels_select
'
;
import
MilestoneSelect
from
'
~/milestone_select
'
;
import
ShortcutsNavigation
from
'
~/shortcuts_navigation
'
;
import
IssuableTemplateSelectors
from
'
~/templates/issuable_template_selectors
'
;
import
WeightSelect
from
'
ee/weight_select
'
;
export
default
()
=>
{
new
ShortcutsNavigation
();
new
GLForm
(
$
(
'
.issue-form
'
),
true
);
new
IssuableForm
(
$
(
'
.issue-form
'
));
new
LabelsSelect
();
new
MilestoneSelect
();
new
IssuableTemplateSelectors
();
new
WeightSelect
();
};
app/assets/javascripts/pages/projects/issues/new/index.js
View file @
56e57355
/* eslint-disable no-new */
import
GLForm
from
'
~/gl_form
'
;
import
IssuableForm
from
'
~/issuable_form
'
;
import
LabelsSelect
from
'
~/labels_select
'
;
import
MilestoneSelect
from
'
~/milestone_select
'
;
import
ShortcutsNavigation
from
'
~/shortcuts_navigation
'
;
import
IssuableTemplateSelectors
from
'
~/templates/issuable_template_selectors
'
;
import
WeightSelect
from
'
ee/weight_select
'
;
import
initForm
from
'
../form
'
;
export
default
()
=>
{
new
ShortcutsNavigation
();
new
GLForm
(
$
(
'
.issue-form
'
),
true
);
new
IssuableForm
(
$
(
'
.issue-form
'
));
new
LabelsSelect
();
new
MilestoneSelect
();
new
IssuableTemplateSelectors
();
new
WeightSelect
();
initForm
();
};
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