diff options
Diffstat (limited to 'share/www/script/futon.browse.js')
-rw-r--r-- | share/www/script/futon.browse.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js index 172c7b62..437c30c2 100644 --- a/share/www/script/futon.browse.js +++ b/share/www/script/futon.browse.js @@ -152,6 +152,18 @@ }); } + this.viewCleanup = function() { + $.showDialog("dialog/_view_cleanup.html", { + submit: function(data, callback) { + db.viewCleanup({ + success: function(resp) { + callback(); + } + }); + } + }); + } + this.compactView = function() { var groupname = page.viewName.substring(8, page.viewName.indexOf('/_view')); |