Fauxton: fix global var
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/ca5913ed Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/ca5913ed Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/ca5913ed Branch: refs/heads/master Commit: ca5913eda5cb2d70d38ed7ed286bfd835a2b303d Parents: e7763df Author: Robert Kowalski <r...@kowalski.gd> Authored: Fri Mar 21 17:25:52 2014 +0100 Committer: Robert Kowalski <r...@kowalski.gd> Committed: Fri Mar 21 17:27:58 2014 +0100 ---------------------------------------------------------------------- src/fauxton/app/addons/config/views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/ca5913ed/src/fauxton/app/addons/config/views.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/addons/config/views.js b/src/fauxton/app/addons/config/views.js index 9f427ac..7952182 100644 --- a/src/fauxton/app/addons/config/views.js +++ b/src/fauxton/app/addons/config/views.js @@ -80,7 +80,7 @@ function(app, FauxtonAPI, Config, Components) { return {option: this.model.toJSON()}; }, saveAndRender: function (event) { - var options = {}; + var options = {}, $input = this.$(event.currentTarget).parents('td').find(".js-value-input"); options[$input.attr('name')] = $input.val();