From d6fdb4a8dd344db3c3e9f45e18ad372a64f6863c Mon Sep 17 00:00:00 2001 From: j Date: Fri, 9 Jun 2017 13:28:36 +0200 Subject: [PATCH] fix make private dialog --- static/js/makeListPrivateDialog.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/makeListPrivateDialog.js b/static/js/makeListPrivateDialog.js index 0da034f6..366e4405 100644 --- a/static/js/makeListPrivateDialog.js +++ b/static/js/makeListPrivateDialog.js @@ -5,7 +5,8 @@ pandora.ui.makeListPrivateDialog = function(name, subscribers, callback) { var ui = pandora.user.ui, - folderItem = ui.section == 'item' ? 'List' : 'Edit', + folderItems = pandora.getFolderItems(ui.section), + folderItem = folderItems.slice(0, -1), that = pandora.ui.iconDialog({ buttons: [ Ox.Button({