summaryrefslogtreecommitdiff
path: root/app/views/help/ui.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/help/ui.html.haml')
-rw-r--r--app/views/help/ui.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/help/ui.html.haml b/app/views/help/ui.html.haml
index db46e51f8d7..d084559abc3 100644
--- a/app/views/help/ui.html.haml
+++ b/app/views/help/ui.html.haml
@@ -409,8 +409,8 @@
= icon('spinner spin')
:javascript
$('#js-project-dropdown').glDropdown({
- data: function (callback) {
- Api.projects("", "last_activity_at", function (data) {
+ data: function (term, callback) {
+ Api.projects(term, "last_activity_at", function (data) {
callback(data);
});
},
@@ -433,7 +433,7 @@
.example
%div
- = dropdown_tag("Projects", title: "Go to project", filter: true, placeholder: "Filter projects")
+ = dropdown_tag("Projects", options: { title: "Go to project", filter: true, placeholder: "Filter projects" })
%h2#panels Panels