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/2041-update-ibrowse Commit: 4913c6e07b47755b7116aabcfec3d529f8ad32c4 Parents: e671933 Author: suelockwood <[email protected]> Authored: Thu Mar 13 10:45:27 2014 -0400 Committer: suelockwood <[email protected]> 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");
