aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/views/details.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/views/details.js')
-rw-r--r--www/js/views/details.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/js/views/details.js b/www/js/views/details.js
index 5eb6b85..4c6d96b 100644
--- a/www/js/views/details.js
+++ b/www/js/views/details.js
@@ -39,12 +39,14 @@
detail.height( contentHeight - top );
},
- onClickButtonPrev: function() {
+ onClickButtonPrev: function(e) {
+ e.preventDefault();
this.updateCurrentReport();
this.navigate( this.prev, true );
},
- onClickButtonNext: function() {
+ onClickButtonNext: function(e) {
+ e.preventDefault();
this.clearValidationErrors();
var valid = 1;