aboutsummaryrefslogtreecommitdiff
path: root/web/viewsjs
diff options
context:
space:
mode:
Diffstat (limited to 'web/viewsjs')
-rw-r--r--web/viewsjs/relation.js.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/viewsjs/relation.js.erb b/web/viewsjs/relation.js.erb
index 6c4ad7e..eb4ff9d 100644
--- a/web/viewsjs/relation.js.erb
+++ b/web/viewsjs/relation.js.erb
@@ -28,7 +28,7 @@ var create_flexigrid_for = {
},
roles: function(rtype) {
create_flexigrid('grid-roles', {
- url: '/api/4/relation/roles?type=' + encodeURIComponent(rtype),
+ url: '/api/4/relation/roles?rtype=' + encodeURIComponent(rtype),
colModel: [
{ display: '<%= osm.relation_member_role %>', name: 'role', width: 250, sortable: true },
{ display: '<span title="<%= page.roles.objects_tooltip %>"><img src="/img/types/all.16.png" width="16" height="16" alt=""/> <%= osm.relation_members %></span>', name: 'count_all_members', width: 250, sortable: true, align: 'center' },