aboutsummaryrefslogtreecommitdiff
path: root/web/viewsjs
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-18 09:12:46 -0800
committerJochen Topf <jochen@topf.org>2013-01-18 09:12:46 -0800
commit95eabe7a9f66c49c164115502e4073adb08cd864 (patch)
tree7041725d3f95dbe7885923af82107a0bd093c58f /web/viewsjs
parentc5428074f4380471e2da6f17c6f7a2375f262bca (diff)
parent055dc3a28428fb6914f02bab35933a4cea614731 (diff)
downloadtaginfo-95eabe7a9f66c49c164115502e4073adb08cd864.tar
taginfo-95eabe7a9f66c49c164115502e4073adb08cd864.tar.gz
Merge pull request #13 from IrlJidel/master
Use rtype as param for api/4/relation/roles call
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' },