You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2014/03/14 17:45:58 UTC

[20/28] couchdb commit: updated refs/heads/Query-Options-UI to 1295cce

Fauxton: Config removed redundant method.


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

Branch: refs/heads/Query-Options-UI
Commit: 4913c6e07b47755b7116aabcfec3d529f8ad32c4
Parents: e671933
Author: suelockwood <de...@apache.org>
Authored: Thu Mar 13 10:45:27 2014 -0400
Committer: suelockwood <de...@apache.org>
Committed: Thu Mar 13 10:45:27 2014 -0400

----------------------------------------------------------------------
 src/fauxton/app/addons/config/resources.js | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/4913c6e0/src/fauxton/app/addons/config/resources.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/config/resources.js b/src/fauxton/app/addons/config/resources.js
index e5ebe65..c0e103a 100644
--- a/src/fauxton/app/addons/config/resources.js
+++ b/src/fauxton/app/addons/config/resources.js
@@ -84,7 +84,7 @@ function (app, FauxtonAPI) {
       "dblclick .js-edit-value": "editValue",
       "click .js-delete-value": "deleteValue",
       "click .js-cancel-value": "cancelEdit",
-      "click .js-save-value": "saveValue",
+      "click .js-save-value": "saveAndRender",
       "keyup .js-value-input": "processKeyEvents"
     },
 
@@ -114,9 +114,6 @@ function (app, FauxtonAPI) {
       }
     },
 
-    saveValue: function (event) {
-      this.saveAndRender();
-    },
 
     discardValue: function (event) {
       this.$(".js-edit-value-form").addClass("js-hidden");