summaryrefslogtreecommitdiff
path: root/share/www/script/futon.browse.js
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-03-06 04:50:58 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-03-06 04:50:58 +0000
commit45019979f3a06300139aeef72e7ef6f3f4d5833f (patch)
tree7eda6be66b3b649192672fcc6e95de9f78976172 /share/www/script/futon.browse.js
parentb64710f6e894fc70c962c2ea2493accfb3738652 (diff)
roll Applications tab out of Futon index page
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@750769 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/futon.browse.js')
-rw-r--r--share/www/script/futon.browse.js11
1 files changed, 2 insertions, 9 deletions
diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js
index 6a282da6..30cff66e 100644
--- a/share/www/script/futon.browse.js
+++ b/share/www/script/futon.browse.js
@@ -52,16 +52,9 @@
$("#databases tbody.content").append("<tr>" +
"<th><a href='database.html?" + encodeURIComponent(dbName) + "'>" +
dbName + "</a></th>" +
- "<td class='size'></td><td class='apps'></td><td class='count'></td>" +
+ "<td class='size'></td><td class='count'></td>" +
"<td class='seq'></td></tr>");
- var db = $.couch.db(dbName);
- db.allApps({
- eachApp : function(name, path) {
- $("#databases tbody.content tr:eq(" + idx + ")")
- .find("td.apps").append('<a href="'+path+'">'+name+'</a> ');
- }
- });
- db.info({
+ $.couch.db(dbName).info({
success: function(info) {
$("#databases tbody.content tr:eq(" + idx + ")")
.find("td.size").text($.futon.formatSize(info.disk_size)).end()