You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2014/05/15 23:50:48 UTC

[03/12] fauxton commit: updated refs/heads/import-master to 6827677

Remove doubled event.preventDefault call


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/f423081b
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/f423081b
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/f423081b

Branch: refs/heads/import-master
Commit: f423081b221da165fa87038972fea3dba401bd05
Parents: 89d7ec0
Author: Robert Kowalski <ro...@kowalski.gd>
Authored: Mon May 5 22:35:28 2014 +0200
Committer: Robert Kowalski <ro...@kowalski.gd>
Committed: Mon May 5 23:11:20 2014 +0200

----------------------------------------------------------------------
 app/addons/documents/views.js | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/f423081b/app/addons/documents/views.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/views.js b/app/addons/documents/views.js
index 77f3bde..05ee6a2 100644
--- a/app/addons/documents/views.js
+++ b/app/addons/documents/views.js
@@ -1590,8 +1590,6 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb,
         return params;
       }, {reduce: false});
 
-      event.preventDefault();
-
       FauxtonAPI.addNotification({
         msg: "<strong>Warning!</strong> Preview executes the Map/Reduce functions in your browser, and may behave differently from CouchDB.",
         type: "warning",