You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by cm...@apache.org on 2009/01/13 11:52:37 UTC
svn commit: r734098 - /couchdb/trunk/share/www/script/futon.browse.js
Author: cmlenz
Date: Tue Jan 13 02:52:28 2009
New Revision: 734098
URL: http://svn.apache.org/viewvc?rev=734098&view=rev
Log:
Fix for COUCHDB-205 (removing newly added doc fields in Futon failed).
Modified:
couchdb/trunk/share/www/script/futon.browse.js
Modified: couchdb/trunk/share/www/script/futon.browse.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/futon.browse.js?rev=734098&r1=734097&r2=734098&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/futon.browse.js [utf-8] (original)
+++ couchdb/trunk/share/www/script/futon.browse.js [utf-8] Tue Jan 13 02:52:28 2009
@@ -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() {