diff options
Diffstat (limited to 'share/www/database.html')
-rw-r--r-- | share/www/database.html | 8 |
1 files changed, 2 insertions, 6 deletions
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. </div> <ul id="toolbar"> <li><button class="add">New Document</button></li> - <li><button class="compact">Compact Database…</button></li> - <li><button class="viewcleanup">View Cleanup…</button></li> + <li><button class="compact">Compact & Cleanup…</button></li> <li><button class="delete">Delete Database…</button></li> - <li><button class="compactview" style="display: none">Compact View…</button></li> </ul> <div id="viewcode" class="collapsed" style="display: none"> |