aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-12-24 09:50:11 +0000
committerStruan Donald <struan@exo.org.uk>2012-12-24 09:50:11 +0000
commit55f8730beb5bfd4ac5515f9c99b5c716aeae8886 (patch)
tree9803cf5e6faa3457a62831d6f2f6624bde278b37 /www/js
parentd8d8bd8f593d13d315f1df4a223474bef02761b4 (diff)
do not hardcode device type
Diffstat (limited to 'www/js')
-rw-r--r--www/js/mobile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/mobile.js b/www/js/mobile.js
index 66b83be..37c8763 100644
--- a/www/js/mobile.js
+++ b/www/js/mobile.js
@@ -542,7 +542,7 @@ function postReport(e) {
if ( !validate_user_details() ) { $.mobile.loading('hide'); return; }
var params = {
- service: 'iphone',
+ service: device.platform,
title: report.title(),
detail: report.detail(),
may_show_name: $('#form_may_show_name').attr('checked') ? 1 : 0,