couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cml...@apache.org
Subject svn commit: r734098 - /couchdb/trunk/share/www/script/futon.browse.js
Date Tue, 13 Jan 2009 10:52:37 GMT
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() {



Mime
View raw message