Don't toggle query option checkboxes when clicking ALL button on all docs page.
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/0fa5c32d Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/0fa5c32d Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/0fa5c32d Branch: refs/heads/api-options Commit: 0fa5c32d043846913cf1026a677ed1a9df25c98d Parents: 3cd4bc5 Author: suelockwood <[email protected]> Authored: Fri Jan 10 12:18:13 2014 -0500 Committer: suelockwood <[email protected]> Committed: Fri Jan 10 12:18:13 2014 -0500 ---------------------------------------------------------------------- src/fauxton/app/modules/documents/views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/0fa5c32d/src/fauxton/app/modules/documents/views.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/modules/documents/views.js b/src/fauxton/app/modules/documents/views.js index 78cbbb8..29ff199 100644 --- a/src/fauxton/app/modules/documents/views.js +++ b/src/fauxton/app/modules/documents/views.js @@ -601,7 +601,7 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb, resizeColum }, selectAll: function(evt){ - $("input:checkbox").prop('checked', !$(evt.target).hasClass('active')).trigger('change'); + $('.all-docs').find("input:checkbox").prop('checked', !$(evt.target).hasClass('active')).trigger('change'); }, serialize: function() {
