diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index f3f0c199f..a19ba9be1 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -3384,8 +3384,6 @@ define([ createNewButton(isInRoot, $toolbar.find('.cp-app-drive-toolbar-leftside')); } if (sfId) { - var sfData = manager.getSharedFolderData(sfId); - var parsed = Hash.parsePadUrl(sfData.href); createShareButton(sfId, $toolbar.find('.cp-app-drive-toolbar-leftside')); }