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
iv
gitlab-ce
Commits
331f026a
Commit
331f026a
authored
Jul 07, 2016
by
tiagonbotelho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gets the new object through /simple endpoint and renders on the dropdown
parent
a8cf4e13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
app/assets/javascripts/api.js.coffee
app/assets/javascripts/api.js.coffee
+1
-1
app/assets/javascripts/gl_dropdown.js.coffee
app/assets/javascripts/gl_dropdown.js.coffee
+1
-0
No files found.
app/assets/javascripts/api.js.coffee
View file @
331f026a
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
groupPath
:
"/api/:version/groups/:id.json"
groupPath
:
"/api/:version/groups/:id.json"
namespacesPath
:
"/api/:version/namespaces.json"
namespacesPath
:
"/api/:version/namespaces.json"
groupProjectsPath
:
"/api/:version/groups/:id/projects.json"
groupProjectsPath
:
"/api/:version/groups/:id/projects.json"
projectsPath
:
"/api/:version/projects.json"
projectsPath
:
"/api/:version/projects
/simple
.json"
labelsPath
:
"/api/:version/projects/:id/labels"
labelsPath
:
"/api/:version/projects/:id/labels"
licensePath
:
"/api/:version/licenses/:key"
licensePath
:
"/api/:version/licenses/:key"
gitignorePath
:
"/api/:version/gitignores/:key"
gitignorePath
:
"/api/:version/gitignores/:key"
...
...
app/assets/javascripts/gl_dropdown.js.coffee
View file @
331f026a
...
@@ -123,6 +123,7 @@ class GitLabDropdownRemote
...
@@ -123,6 +123,7 @@ class GitLabDropdownRemote
# Fetch the data by calling the data funcfion
# Fetch the data by calling the data funcfion
@
dataEndpoint
""
,
(
data
)
=>
@
dataEndpoint
""
,
(
data
)
=>
console
.
log
(
data
)
if
@
options
.
success
if
@
options
.
success
@
options
.
success
(
data
)
@
options
.
success
(
data
)
...
...
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