diff options
author | Garren Smith <garren.smith@gmail.com> | 2013-12-17 14:59:43 +0200 |
---|---|---|
committer | Garren Smith <garren.smith@gmail.com> | 2013-12-17 14:59:43 +0200 |
commit | fe888d2f92d159ad891fdbf64f97b9588d7c4d81 (patch) | |
tree | f19e9b026d7edc5a01608fead7f84c0a6f7cb964 | |
parent | 277b730ea4e0588af7b0082521515415a757a0ee (diff) | |
download | couchdb-fe888d2f92d159ad891fdbf64f97b9588d7c4d81.tar.gz |
Fauxton: Prevent propogation on pagination
-rw-r--r-- | src/fauxton/app/modules/fauxton/components.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fauxton/app/modules/fauxton/components.js b/src/fauxton/app/modules/fauxton/components.js index 5255626ba..6afe0467c 100644 --- a/src/fauxton/app/modules/fauxton/components.js +++ b/src/fauxton/app/modules/fauxton/components.js @@ -78,6 +78,7 @@ function(app, FauxtonAPI, ace) { previousClicked: function (event) { event.preventDefault(); + event.stopPropagation(); if (!this.canShowPreviousfn()) { return; } FauxtonAPI.navigate(this.previousUrlfn(), {trigger: false}); FauxtonAPI.triggerRouteEvent('paginate', 'previous'); @@ -85,6 +86,7 @@ function(app, FauxtonAPI, ace) { nextClicked: function (event) { event.preventDefault(); + event.stopPropagation(); if (!this.canShowNextfn()) { return; } var doc = this.collection.first(); |