aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/mobile.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/mobile.js')
-rw-r--r--www/js/mobile.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/js/mobile.js b/www/js/mobile.js
index 6d41956..8ad9908 100644
--- a/www/js/mobile.js
+++ b/www/js/mobile.js
@@ -490,3 +490,8 @@ $(document).bind('pageinit', function() {
});
document.addEventListener("deviceready", onDeviceReady, false);
+
+$(document).delegate('#report-created', 'pageshow',function() {
+ var uri = CONFIG.FMS_URL + 'report/' + localStorage.report;
+ $('#report_url').html( '<a href="' + uri + '">' + uri + '</a>' );
+});