diff options
author | Jochen Topf <jochen@topf.org> | 2014-05-18 18:44:08 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-05-18 18:44:08 +0200 |
commit | f8d478de7494fd7eae2ef4430f34356234c6e769 (patch) | |
tree | 8960fd10f9671fdc8b9847a6c438adfcf1a74ee8 /web/viewsjs | |
parent | 2a42335d0d757a12627def6f2200486338ec7ded (diff) | |
download | taginfo-f8d478de7494fd7eae2ef4430f34356234c6e769.tar taginfo-f8d478de7494fd7eae2ef4430f34356234c6e769.tar.gz |
Some places that didn't use translations do now.
Diffstat (limited to 'web/viewsjs')
-rw-r--r-- | web/viewsjs/reports/language_comparison_table_for_keys_in_the_wiki.js.erb | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/web/viewsjs/reports/language_comparison_table_for_keys_in_the_wiki.js.erb b/web/viewsjs/reports/language_comparison_table_for_keys_in_the_wiki.js.erb index 7609c96..016c94c 100644 --- a/web/viewsjs/reports/language_comparison_table_for_keys_in_the_wiki.js.erb +++ b/web/viewsjs/reports/language_comparison_table_for_keys_in_the_wiki.js.erb @@ -18,10 +18,8 @@ function page_init() { }; var rp = calculate_flexigrid_rp(jQuery('div.box')) - 1; current_grid = 'grid-keys'; - grids[current_grid] = jQuery('#grid-keys').flexigrid({ + grids[current_grid] = jQuery('#grid-keys').flexigrid(jQuery.extend({}, flexigrid_defaults, texts.flexigrid, { url: '/api/4/keys/wiki_pages', - method: 'GET', - dataType: 'json', colModel: [ { display: '<br/><%= h(osm.key) %>', name: 'key', width: 200, sortable: true }, <% @languages.each do |lang| %> @@ -33,12 +31,8 @@ function page_init() { ], sortname: 'key', sortorder: 'asc', - showToggleBtn: false, showTableToggleBtn: false, - usepager: true, - useRp: false, rp: rp, - height: 'auto', onSuccess: function(grid) { grid.fixHeight(); }, @@ -56,5 +50,5 @@ function page_init() { }) }; } - }); + })); } |