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 2008/04/14 19:22:39 UTC
svn commit: r647911 -
/incubator/couchdb/branches/futon-async/share/www/script/browse.js
Author: cmlenz
Date: Mon Apr 14 10:22:35 2008
New Revision: 647911
URL: http://svn.apache.org/viewvc?rev=647911&view=rev
Log:
futon-async branch: another fix for a link missing URL encoding.
Modified:
incubator/couchdb/branches/futon-async/share/www/script/browse.js
Modified: incubator/couchdb/branches/futon-async/share/www/script/browse.js
URL: http://svn.apache.org/viewvc/incubator/couchdb/branches/futon-async/share/www/script/browse.js?rev=647911&r1=647910&r2=647911&view=diff
==============================================================================
--- incubator/couchdb/branches/futon-async/share/www/script/browse.js [utf-8] (original)
+++ incubator/couchdb/branches/futon-async/share/www/script/browse.js [utf-8] Mon Apr 14 10:22:35 2008
@@ -27,7 +27,7 @@
error: function(status, id, reason) { callback({name: reason}) },
success: function(resp) {
if (window !== parent) parent.setTimeout("updateDatabaseList()", 500);
- window.open("database.html?" + data.name, "content");
+ location.href = "database.html?" + encodeURIComponent(data.name);
callback();
}
});