couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cml...@apache.org
Subject svn commit: r647911 - /incubator/couchdb/branches/futon-async/share/www/script/browse.js
Date Mon, 14 Apr 2008 17:22:39 GMT
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();
           }
         });



Mime
View raw message