diff --git a/static/js/documentDialog.js b/static/js/documentDialog.js index 25a46092..258cfb7f 100644 --- a/static/js/documentDialog.js +++ b/static/js/documentDialog.js @@ -211,6 +211,7 @@ pandora.ui.documentDialog = function(options) { items = options.items; item = items[options.index]; setTitle(); + $selectButton[items.length > 1 ? 'show' : 'hide'](); setContent(); };