diff options
author | Struan Donald <struan@exo.org.uk> | 2013-06-06 13:20:27 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-06-06 17:48:20 +0100 |
commit | 6a0f52d6c5a86e953c4493aaed4e98d02078eb86 (patch) | |
tree | 0b06c7ae2b87dca413a03c46cae00b39fe2d5232 /www/js/views/fms.js | |
parent | 5535f7be35b1cdfbe709f1093ed9f350e74d24dc (diff) |
vclicks seem to be more prone to triggering events elsewhere so explicitly kill propogation
Diffstat (limited to 'www/js/views/fms.js')
-rw-r--r-- | www/js/views/fms.js | 6 |
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 ); }, |