From 08bac9b0be9b90b0b93593be87a8ca82736aa17a Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Tue, 19 Jan 2010 23:23:43 +0000 Subject: Futon: Merge the different compaction/cleanup buttons into a single button on the database page, which will bring up a dialog allowing you to choose which type of compaction/cleanup to perform. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@900999 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/database.html | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'share/www/database.html') diff --git a/share/www/database.html b/share/www/database.html index a3a02a52..ea15a66f 100644 --- a/share/www/database.html +++ b/share/www/database.html @@ -115,10 +115,8 @@ specific language governing permissions and limitations under the License. $.futon.storage.set("per_page", this.value); }); $("#toolbar button.add").click(page.newDocument); - $("#toolbar button.compact").click(page.compactDatabase); - $("#toolbar button.viewcleanup").click(page.viewCleanup); + $("#toolbar button.compact").click(page.compactAndCleanup); $("#toolbar button.delete").click(page.deleteDatabase); - $("#toolbar button.compactview").click(page.compactView); $('#jumpto input').suggest(function(text, callback) { page.db.allDocs({ @@ -163,10 +161,8 @@ specific language governing permissions and limitations under the License.