summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2009-01-13 10:52:28 +0000
committerChristopher Lenz <cmlenz@apache.org>2009-01-13 10:52:28 +0000
commit54986fe78df83e75b369c5a0c3049f36f96f1ba1 (patch)
tree6e01aa8c6a0235ef1fd88d50c5f667c173c9e65c /share/www
parenta4b645ec236b260e7dca50a5172c64afe2f07d56 (diff)
Fix for COUCHDB-205 (removing newly added doc fields in Futon failed).
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@734098 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www')
-rw-r--r--share/www/script/futon.browse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js
index ddc56187..492202d1 100644
--- a/share/www/script/futon.browse.js
+++ b/share/www/script/futon.browse.js
@@ -787,7 +787,7 @@
delete doc[fieldName];
th.children().remove();
th.append($("<b></b>").text(newName));
- _initKey(doc, th.parent("tr"), fieldName);
+ _initKey(doc, th.parent("tr"), newName);
page.isDirty = true;
}
function cancelChange() {