aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-11-29 19:00:29 +0000
committerStruan Donald <struan@exo.org.uk>2012-11-29 19:05:03 +0000
commit75e81d2c304e598b6de631e6ca8fce9e7b9305c0 (patch)
treebdfa15a597144426e3351676234a1567ebb8296c /www/js
parent681e03facd23edcae29cc0e2662e009465b589e0 (diff)
fixed saved report page title and details display
Diffstat (limited to 'www/js')
-rw-r--r--www/js/mobile.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/mobile.js b/www/js/mobile.js
index 6078ce4..5af1795 100644
--- a/www/js/mobile.js
+++ b/www/js/mobile.js
@@ -774,8 +774,8 @@ function display_saved_report() {
fixmystreet.longitude = r.lon();
fixmystreet.pins = [ [ r.lat(), r.lon(), 'yellow', '', "", 'big' ] ];
- $('#title').text(r.title);
- $('#details').text(r.detail);
+ $('#title').text(r.title());
+ $('#details').text(r.detail());
if ( r.file() ) {
$('#photo').attr('src', r.file());
$('#report-img').show();