diff options
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() { }) }; } - }); + })); } |