From bd958b3820d306efbc5b0347afdc670f6183616e Mon Sep 17 00:00:00 2001 From: Nariman Jelveh Date: Wed, 19 Jun 2024 12:11:05 -0700 Subject: [PATCH] show the share dialog when items are dropped on a username in the sidebar --- src/UI/UIWindow.js | 88 ++++++++++++++++++++++++++++++++++++++++- src/UI/UIWindowShare.js | 10 ++--- 2 files changed, 91 insertions(+), 7 deletions(-) diff --git a/src/UI/UIWindow.js b/src/UI/UIWindow.js index 3f163a319..98194012a 100644 --- a/src/UI/UIWindow.js +++ b/src/UI/UIWindow.js @@ -29,6 +29,7 @@ import refresh_item_container from '../helpers/refresh_item_container.js'; import UIWindowSaveAccount from './UIWindowSaveAccount.js'; import UIWindowEmailConfirmationRequired from './UIWindowEmailConfirmationRequired.js'; import launch_app from "../helpers/launch_app.js" +import UIWindowShare from './UIWindowShare.js'; const el_body = document.getElementsByTagName('body')[0]; @@ -350,7 +351,6 @@ async function UIWindow(options) { const components = options.path.slice(1).split('/'); - console.log('components???', components); if ( components.length === 2 && components[1] === 'Public' ) { const username = components[0]; h += `