summaryrefslogtreecommitdiff
path: root/web/viewsjs/reports
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-06 17:06:16 +0100
committerJochen Topf <jochen@topf.org>2013-01-06 17:06:16 +0100
commitb06f9c90923ac5564699878f7734221aecc00e91 (patch)
treeb7dcc235fff453bd00bce726ebe7ab8aa5472bb5 /web/viewsjs/reports
parent395b80de72ce59c42135e9e68579ae1ee039f79a (diff)
downloadtaginfo-b06f9c90923ac5564699878f7734221aecc00e91.tar
taginfo-b06f9c90923ac5564699878f7734221aecc00e91.tar.gz
Rename 'b' result to 'value_bool' in josm API calls.
Diffstat (limited to 'web/viewsjs/reports')
-rw-r--r--web/viewsjs/reports/josm_styles.js.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/viewsjs/reports/josm_styles.js.erb b/web/viewsjs/reports/josm_styles.js.erb
index a8ce85e..54992c3 100644
--- a/web/viewsjs/reports/josm_styles.js.erb
+++ b/web/viewsjs/reports/josm_styles.js.erb
@@ -21,7 +21,7 @@ function create_flexigrid_with_option(stylename) {
data.rows = jQuery.map(data.data, function(row, i) {
return { 'cell': [
link_to_key(row.key),
- row.value ? link_to_value(row.key, row.value) : row.b ? (row.b + ' (Boolean)') : '*',
+ row.value ? link_to_value(row.key, row.value) : row.value_bool ? (row.value_bool + ' (Boolean)') : '*',
row.icon ? '<img src="/api/4/josm/style/image?style=standard&image=' + row.icon + '" title="' + row.icon + '" alt=""/>' : '',
'<div>' + (row.line_width > 0 ? '<div title="' + row.line_color + '" style="height: ' + row.line_width + 'px; margin-top: ' + (10 - Math.round(row.line_width/2)) + 'px; padding: 0; background-color: ' + row.line_color + '"></div>' : '') + '</div>',
row.area_color ? '<div title="' + row.area_color + '" style="height: 18px; background-color: ' + row.area_color + '"></div>' : ''