couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [20/28] couchdb commit: updated refs/heads/Query-Options-UI to 1295cce
Date Fri, 14 Mar 2014 16:45:58 GMT
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 <deathbear@apache.org>
Authored: Thu Mar 13 10:45:27 2014 -0400
Committer: suelockwood <deathbear@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");


Mime
View raw message