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
ae36749e
Commit
ae36749e
authored
Jun 14, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed issue with issues-feature not hiding on setting update
parent
816f8fe1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
app/assets/javascripts/project_new.js.coffee
app/assets/javascripts/project_new.js.coffee
+2
-1
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+0
-2
No files found.
app/assets/javascripts/project_new.js.coffee
View file @
ae36749e
...
...
@@ -10,9 +10,10 @@ class @ProjectNew
toggleSettings
:
=>
@
_showOrHide
(
'#project_builds_enabled'
,
'.builds-feature'
)
@
_showOrHide
(
'#project_merge_requests_enabled'
,
'.merge-requests-feature'
)
@
_showOrHide
(
'#project_issues_enabled'
,
'.issues-feature'
)
toggleSettingsOnclick
:
->
$
(
'#project_builds_enabled, #project_merge_requests_enabled'
).
on
'click'
,
@
toggleSettings
$
(
'#project_builds_enabled, #project_merge_requests_enabled
, #project_issues_enabled
'
).
on
'click'
,
@
toggleSettings
_showOrHide
:
(
checkElement
,
container
)
->
$container
=
$
(
container
)
...
...
app/views/projects/edit.html.haml
View file @
ae36749e
...
...
@@ -85,9 +85,7 @@
%span
.descr
Enable Container Registry for this repository
%hr
=
render
'issues_settings'
,
f:
f
%hr
=
render
'merge_request_settings'
,
f:
f
%hr
=
render
'builds_settings'
,
f:
f
%hr
%fieldset
.features.append-bottom-default
...
...
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