diff --git a/src/UI/PuterDialog.js b/src/UI/PuterDialog.js index c55dabf8..357dd457 100644 --- a/src/UI/PuterDialog.js +++ b/src/UI/PuterDialog.js @@ -40,7 +40,6 @@ async function PuterDialog(options) { uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: false, selectable_body: false, draggable_body: true, diff --git a/src/UI/UITaskbar.js b/src/UI/UITaskbar.js index 8d02a8f2..2a53aa78 100644 --- a/src/UI/UITaskbar.js +++ b/src/UI/UITaskbar.js @@ -142,7 +142,6 @@ async function UITaskbar(options){ // make apps draggable $(popover).find('.start-app').draggable({ appendTo: "body", - helper: "clone", revert: "invalid", connectToSortable: ".taskbar", //containment: "document", diff --git a/src/UI/UIWindowChangePassword.js b/src/UI/UIWindowChangePassword.js index c7620d0e..7e1ef06e 100644 --- a/src/UI/UIWindowChangePassword.js +++ b/src/UI/UIWindowChangePassword.js @@ -56,7 +56,6 @@ async function UIWindowChangePassword(){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: true, selectable_body: false, draggable_body: false, diff --git a/src/UI/UIWindowChangeUsername.js b/src/UI/UIWindowChangeUsername.js index 66cae46d..01e8fa99 100644 --- a/src/UI/UIWindowChangeUsername.js +++ b/src/UI/UIWindowChangeUsername.js @@ -47,7 +47,6 @@ async function UIWindowChangeUsername(){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: true, selectable_body: false, draggable_body: false, diff --git a/src/UI/UIWindowClaimReferral.js b/src/UI/UIWindowClaimReferral.js index 966c7692..af87e0d5 100644 --- a/src/UI/UIWindowClaimReferral.js +++ b/src/UI/UIWindowClaimReferral.js @@ -56,7 +56,6 @@ async function UIWindowClaimReferral(options){ height: 'initial', }, body_css: { - padding: '10px', width: 'initial', 'max-height': 'calc(100vh - 200px)', 'background-color': 'rgb(241 246 251)', diff --git a/src/UI/UIWindowColorPicker.js b/src/UI/UIWindowColorPicker.js index 46ddb91f..12b2b7f5 100644 --- a/src/UI/UIWindowColorPicker.js +++ b/src/UI/UIWindowColorPicker.js @@ -56,7 +56,6 @@ async function UIWindowColorPicker(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: true, selectable_body: false, draggable_body: false, diff --git a/src/UI/UIWindowConfirmDownload.js b/src/UI/UIWindowConfirmDownload.js index b63289c9..7b65d116 100644 --- a/src/UI/UIWindowConfirmDownload.js +++ b/src/UI/UIWindowConfirmDownload.js @@ -54,7 +54,6 @@ async function UIWindowConfirmDownload(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: false, selectable_body: false, draggable_body: true, diff --git a/src/UI/UIWindowCopyProgress.js b/src/UI/UIWindowCopyProgress.js index 0e022633..d70bc64f 100644 --- a/src/UI/UIWindowCopyProgress.js +++ b/src/UI/UIWindowCopyProgress.js @@ -48,7 +48,6 @@ async function UIWindowCopyProgress(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: false, selectable_body: false, draggable_body: true, diff --git a/src/UI/UIWindowDesktopBGSettings.js b/src/UI/UIWindowDesktopBGSettings.js index 0462ced6..338153d1 100644 --- a/src/UI/UIWindowDesktopBGSettings.js +++ b/src/UI/UIWindowDesktopBGSettings.js @@ -82,7 +82,6 @@ async function UIWindowDesktopBGSettings(){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: true, selectable_body: false, draggable_body: false, diff --git a/src/UI/UIWindowDownloadDirProg.js b/src/UI/UIWindowDownloadDirProg.js index 1fdf23ba..d63b4337 100644 --- a/src/UI/UIWindowDownloadDirProg.js +++ b/src/UI/UIWindowDownloadDirProg.js @@ -36,10 +36,8 @@ async function UIWindowDownloadDirProg(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: false, selectable_body: false, - draggable_body: false, allow_context_menu: false, is_resizable: false, is_droppable: false, diff --git a/src/UI/UIWindowDownloadProgress.js b/src/UI/UIWindowDownloadProgress.js index 12615617..426ebe56 100644 --- a/src/UI/UIWindowDownloadProgress.js +++ b/src/UI/UIWindowDownloadProgress.js @@ -47,7 +47,6 @@ async function UIWindowDownloadProgress(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: false, selectable_body: false, draggable_body: true, diff --git a/src/UI/UIWindowEmailConfirmationRequired.js b/src/UI/UIWindowEmailConfirmationRequired.js index 84cbc829..c648d9e6 100644 --- a/src/UI/UIWindowEmailConfirmationRequired.js +++ b/src/UI/UIWindowEmailConfirmationRequired.js @@ -58,12 +58,10 @@ function UIWindowEmailConfirmationRequired(options){ const el_window = await UIWindow({ title: null, - backdrop: options.backdrop ?? false, icon: null, uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: false, selectable_body: false, draggable_body: true, diff --git a/src/UI/UIWindowFeedback.js b/src/UI/UIWindowFeedback.js index 12082967..8ff9bbaf 100644 --- a/src/UI/UIWindowFeedback.js +++ b/src/UI/UIWindowFeedback.js @@ -47,7 +47,6 @@ async function UIWindowQR(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: true, selectable_body: false, draggable_body: false, diff --git a/src/UI/UIWindowFontPicker.js b/src/UI/UIWindowFontPicker.js index 642e91fc..b239cba9 100644 --- a/src/UI/UIWindowFontPicker.js +++ b/src/UI/UIWindowFontPicker.js @@ -74,7 +74,6 @@ async function UIWindowFontPicker(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: true, selectable_body: false, draggable_body: false, diff --git a/src/UI/UIWindowGetCopyLink.js b/src/UI/UIWindowGetCopyLink.js index 660c64dd..b18feca5 100644 --- a/src/UI/UIWindowGetCopyLink.js +++ b/src/UI/UIWindowGetCopyLink.js @@ -41,7 +41,6 @@ async function UIWindowGetCopyLink(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: true, selectable_body: false, draggable_body: false, @@ -59,7 +58,6 @@ async function UIWindowGetCopyLink(options){ height: 'initial', }, body_css: { - padding: '10px', width: 'initial', 'max-height': 'calc(100vh - 200px)', 'background-color': 'rgb(241 246 251)', diff --git a/src/UI/UIWindowItemProperties.js b/src/UI/UIWindowItemProperties.js index 6c34e017..6ebe0541 100644 --- a/src/UI/UIWindowItemProperties.js +++ b/src/UI/UIWindowItemProperties.js @@ -63,7 +63,6 @@ async function UIWindowItemProperties(item_name, item_path, item_uid, left, top, uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: true, selectable_body: false, draggable_body: false, @@ -75,7 +74,6 @@ async function UIWindowItemProperties(item_name, item_path, item_uid, left, top, allow_user_select: true, left: left, top: top, - width: width, height: height, onAppend: function(el_window){ }, diff --git a/src/UI/UIWindowLogin.js b/src/UI/UIWindowLogin.js index 802207af..3646d0f6 100644 --- a/src/UI/UIWindowLogin.js +++ b/src/UI/UIWindowLogin.js @@ -73,7 +73,6 @@ async function UIWindowLogin(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: true, selectable_body: false, draggable_body: false, diff --git a/src/UI/UIWindowLoginInProgress.js b/src/UI/UIWindowLoginInProgress.js index c2d448dc..364b5f10 100644 --- a/src/UI/UIWindowLoginInProgress.js +++ b/src/UI/UIWindowLoginInProgress.js @@ -43,7 +43,6 @@ async function UIWindowLoginInProgress(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: false, selectable_body: false, draggable_body: false, diff --git a/src/UI/UIWindowMoveProgress.js b/src/UI/UIWindowMoveProgress.js index 71edcb1f..0e46b1d5 100644 --- a/src/UI/UIWindowMoveProgress.js +++ b/src/UI/UIWindowMoveProgress.js @@ -48,7 +48,6 @@ async function UIWindowMoveProgress(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: false, selectable_body: false, draggable_body: true, diff --git a/src/UI/UIWindowMyWebsites.js b/src/UI/UIWindowMyWebsites.js index 345adfac..6cf6ccbd 100644 --- a/src/UI/UIWindowMyWebsites.js +++ b/src/UI/UIWindowMyWebsites.js @@ -35,7 +35,6 @@ async function UIWindowMyWebsites(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: true, selectable_body: false, draggable_body: false, diff --git a/src/UI/UIWindowNewFolderProgress.js b/src/UI/UIWindowNewFolderProgress.js index e4594690..42de4908 100644 --- a/src/UI/UIWindowNewFolderProgress.js +++ b/src/UI/UIWindowNewFolderProgress.js @@ -41,7 +41,6 @@ async function UIWindowNewFolderProgress(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: false, selectable_body: false, draggable_body: true, diff --git a/src/UI/UIWindowNewPassword.js b/src/UI/UIWindowNewPassword.js index e1eadcd3..55db2248 100644 --- a/src/UI/UIWindowNewPassword.js +++ b/src/UI/UIWindowNewPassword.js @@ -56,7 +56,6 @@ async function UIWindowNewPassword(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: true, selectable_body: false, draggable_body: false, diff --git a/src/UI/UIWindowProgressEmptyTrash.js b/src/UI/UIWindowProgressEmptyTrash.js index c659feeb..2b25181d 100644 --- a/src/UI/UIWindowProgressEmptyTrash.js +++ b/src/UI/UIWindowProgressEmptyTrash.js @@ -41,7 +41,6 @@ async function UIWindowProgressEmptyTrash(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: false, selectable_body: false, draggable_body: true, diff --git a/src/UI/UIWindowPublishWebsite.js b/src/UI/UIWindowPublishWebsite.js index fa840713..64f36df8 100644 --- a/src/UI/UIWindowPublishWebsite.js +++ b/src/UI/UIWindowPublishWebsite.js @@ -53,7 +53,6 @@ async function UIWindowPublishWebsite(target_dir_uid, target_dir_name, target_di uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: true, selectable_body: false, draggable_body: false, diff --git a/src/UI/UIWindowQR.js b/src/UI/UIWindowQR.js index 607ddfb7..4514900e 100644 --- a/src/UI/UIWindowQR.js +++ b/src/UI/UIWindowQR.js @@ -39,10 +39,8 @@ async function UIWindowQR(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: false, selectable_body: false, - draggable_body: false, allow_context_menu: false, is_resizable: false, is_droppable: false, diff --git a/src/UI/UIWindowRecoverPassword.js b/src/UI/UIWindowRecoverPassword.js index 86cd9dba..f782434d 100644 --- a/src/UI/UIWindowRecoverPassword.js +++ b/src/UI/UIWindowRecoverPassword.js @@ -44,7 +44,6 @@ function UIWindowRecoverPassword(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: options.has_head ?? true, selectable_body: false, draggable_body: true, diff --git a/src/UI/UIWindowRefer.js b/src/UI/UIWindowRefer.js index 0826b31e..1edae6ff 100644 --- a/src/UI/UIWindowRefer.js +++ b/src/UI/UIWindowRefer.js @@ -61,7 +61,6 @@ async function UIWindowRefer(options){ height: 'initial', }, body_css: { - padding: '10px', width: 'initial', 'max-height': 'calc(100vh - 200px)', 'background-color': 'rgb(241 246 251)', diff --git a/src/UI/UIWindowRequestFiles.js b/src/UI/UIWindowRequestFiles.js index b24f2cef..cbdf8aa1 100644 --- a/src/UI/UIWindowRequestFiles.js +++ b/src/UI/UIWindowRequestFiles.js @@ -33,7 +33,6 @@ async function UIWindowRequestFiles(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: true, selectable_body: false, draggable_body: false, diff --git a/src/UI/UIWindowRequestPermission.js b/src/UI/UIWindowRequestPermission.js index 0cbf430d..dc487364 100644 --- a/src/UI/UIWindowRequestPermission.js +++ b/src/UI/UIWindowRequestPermission.js @@ -79,7 +79,6 @@ async function UIWindowRequestPermission(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: true, selectable_body: false, draggable_body: true, diff --git a/src/UI/UIWindowSelfhostedWaitlist.js b/src/UI/UIWindowSelfhostedWaitlist.js index 46056b43..065891f9 100644 --- a/src/UI/UIWindowSelfhostedWaitlist.js +++ b/src/UI/UIWindowSelfhostedWaitlist.js @@ -62,7 +62,6 @@ async function UIWindowSelfhostedWaitlist(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: true, selectable_body: false, draggable_body: true, diff --git a/src/UI/UIWindowSessionList.js b/src/UI/UIWindowSessionList.js index e8b9c62b..16d2f2f1 100644 --- a/src/UI/UIWindowSessionList.js +++ b/src/UI/UIWindowSessionList.js @@ -81,7 +81,6 @@ async function UIWindowSessionList(options){ const login = await UIWindowLogin({ referrer: options.referrer, reload_on_success: options.reload_on_success, - window_options: options.window_options, cover_page: options.cover_page ?? false, has_head: options.has_head, send_confirmation_code: options.send_confirmation_code, @@ -107,7 +106,6 @@ async function UIWindowSessionList(options){ const signup = await UIWindowSignup({ referrer: options.referrer, reload_on_success: options.reload_on_success, - window_options: options.window_options, send_confirmation_code: options.send_confirmation_code, window_options: { has_head: false, diff --git a/src/UI/UIWindowUploadProgress.js b/src/UI/UIWindowUploadProgress.js index ecd8d6fe..1bd6cd8b 100644 --- a/src/UI/UIWindowUploadProgress.js +++ b/src/UI/UIWindowUploadProgress.js @@ -47,7 +47,6 @@ async function UIWindowUploadProgress(options){ uid: null, is_dir: false, body_content: h, - draggable_body: false, has_head: false, selectable_body: false, draggable_body: true,