From 54986fe78df83e75b369c5a0c3049f36f96f1ba1 Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Tue, 13 Jan 2009 10:52:28 +0000 Subject: 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 --- share/www/script/futon.browse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/www/script/futon.browse.js') 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($("").text(newName)); - _initKey(doc, th.parent("tr"), fieldName); + _initKey(doc, th.parent("tr"), newName); page.isDirty = true; } function cancelChange() { -- cgit v1.2.3