summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2016-07-13 18:06:11 +0000
committerDouwe Maan <douwe@gitlab.com>2016-07-13 18:06:11 +0000
commitb8f67b4ddf6b4a56fc25565d66230fc6e78ba72d (patch)
tree882af00a70d099a617c8f9acefb048351b32c9ee /app
parentd2c9e8ab6e696f9b2dd3abcddd7cb526e8057a14 (diff)
parent228073986bfb900ef324379639e1c5cce6b74fe6 (diff)
downloadgitlab-ce-b8f67b4ddf6b4a56fc25565d66230fc6e78ba72d.tar.gz
Merge branch 'dropdown-load-fix' into 'master'
Dropdown loading time preformance fix ## What does this MR do? Optimizes the performance of the dropdown load time by just sending the required data to load the dropdown instead of the full object This MR aims to fix #17474 See merge request !5113
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/api.js.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/api.js.coffee b/app/assets/javascripts/api.js.coffee
index cf46f15a156..89b0ac697ed 100644
--- a/app/assets/javascripts/api.js.coffee
+++ b/app/assets/javascripts/api.js.coffee
@@ -3,7 +3,7 @@
groupPath: "/api/:version/groups/:id.json"
namespacesPath: "/api/:version/namespaces.json"
groupProjectsPath: "/api/:version/groups/:id/projects.json"
- projectsPath: "/api/:version/projects.json"
+ projectsPath: "/api/:version/projects.json?simple=true"
labelsPath: "/api/:version/projects/:id/labels"
licensePath: "/api/:version/licenses/:key"
gitignorePath: "/api/:version/gitignores/:key"