mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 22:40:20 +08:00
Update UIWindow.js
This commit is contained in:
parent
bd958b3820
commit
bfd896041e
@ -1066,6 +1066,7 @@ async function UIWindow(options) {
|
||||
|
||||
// first item
|
||||
items_to_share.push({
|
||||
uid: $(ui.draggable).attr('data-uid'),
|
||||
path: $(ui.draggable).attr('data-path'),
|
||||
icon: $(ui.draggable).find('.item-icon img').attr('src'),
|
||||
name: $(ui.draggable).find('.item-name').text(),
|
||||
@ -1077,6 +1078,7 @@ async function UIWindow(options) {
|
||||
const source_item = document.getElementById('item-' + $(cloned_items[i]).attr('data-id'));
|
||||
if(!source_item) continue;
|
||||
items_to_share.push({
|
||||
uid: $(source_item).attr('data-uid'),
|
||||
path: $(source_item).attr('data-path'),
|
||||
icon: $(source_item).find('.item-icon img').attr('src'),
|
||||
name: $(source_item).find('.item-name').text(),
|
||||
|
Loading…
Reference in New Issue
Block a user