aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/views/fms.js
diff options
context:
space:
mode:
authorJedidiah Broadbent <hello@jedidiah.eu>2013-06-10 10:09:18 +0100
committerJedidiah Broadbent <hello@jedidiah.eu>2013-06-10 10:09:18 +0100
commit304ef3db5e4f28003003da0636110b4d893e8baa (patch)
tree15d85bc8a9cb8ec94358cfa5a665c5ff744c76fc /www/js/views/fms.js
parentfb5fefe53acea54e742b19f9f7f0a6bf80b89ace (diff)
parent8aad0ec269d35a46d7ee01b36ce68c54b81f9de3 (diff)
Merge branch 'phonegap-jquery-mobile-new' of ssh://git.mysociety.org/data/git/public/fixmystreet into phonegap-jquery-mobile-new
Diffstat (limited to 'www/js/views/fms.js')
-rw-r--r--www/js/views/fms.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/js/views/fms.js b/www/js/views/fms.js
index 7196941..640d5e6 100644
--- a/www/js/views/fms.js
+++ b/www/js/views/fms.js
@@ -57,11 +57,13 @@
FMS.router.navigate( route, { trigger: true } );
},
- onClickButtonPrev: function() {
+ onClickButtonPrev: function(e) {
+ e.preventDefault();
this.navigate( this.prev, true );
},
- onClickButtonNext: function() {
+ onClickButtonNext: function(e) {
+ e.preventDefault();
this.navigate( this.next );
},