aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/router.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/router.js')
-rw-r--r--www/js/router.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/www/js/router.js b/www/js/router.js
index e9bce54..b85b361 100644
--- a/www/js/router.js
+++ b/www/js/router.js
@@ -20,6 +20,12 @@
initialize: function() {
},
+ pause: function() {
+ if (this.currentView && this.currentView.updateCurrentReport) {
+ this.currentView.updateCurrentReport();
+ }
+ },
+
back: function() {
if (this.currentView && this.currentView.prev) {
this.currentView.onClickButtonPrev();