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
5963b74a
Commit
5963b74a
authored
Jan 11, 2018
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correctly init GFM
parent
f2db2d09
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/pages/groups/milestones/edit/index.js
app/assets/javascripts/pages/groups/milestones/edit/index.js
+1
-1
app/assets/javascripts/pages/groups/milestones/new/index.js
app/assets/javascripts/pages/groups/milestones/new/index.js
+1
-1
app/assets/javascripts/shared/milestones/form.js
app/assets/javascripts/shared/milestones/form.js
+2
-2
No files found.
app/assets/javascripts/pages/groups/milestones/edit/index.js
View file @
5963b74a
import
initForm
from
'
../../../../shared/milestones/form
'
;
import
initForm
from
'
../../../../shared/milestones/form
'
;
export
default
()
=>
initForm
();
export
default
()
=>
initForm
(
false
);
app/assets/javascripts/pages/groups/milestones/new/index.js
View file @
5963b74a
import
initForm
from
'
../../../../shared/milestones/form
'
;
import
initForm
from
'
../../../../shared/milestones/form
'
;
export
default
()
=>
initForm
();
export
default
()
=>
initForm
(
false
);
app/assets/javascripts/shared/milestones/form.js
View file @
5963b74a
...
@@ -2,8 +2,8 @@ import ZenMode from '../../zen_mode';
...
@@ -2,8 +2,8 @@ import ZenMode from '../../zen_mode';
import
DueDateSelectors
from
'
../../due_date_select
'
;
import
DueDateSelectors
from
'
../../due_date_select
'
;
import
GLForm
from
'
../../gl_form
'
;
import
GLForm
from
'
../../gl_form
'
;
export
default
()
=>
{
export
default
(
initGFM
=
true
)
=>
{
new
ZenMode
();
// eslint-disable-line no-new
new
ZenMode
();
// eslint-disable-line no-new
new
DueDateSelectors
();
// eslint-disable-line no-new
new
DueDateSelectors
();
// eslint-disable-line no-new
new
GLForm
(
$
(
'
.milestone-form
'
),
true
);
// eslint-disable-line no-new
new
GLForm
(
$
(
'
.milestone-form
'
),
initGFM
);
// 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