mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
chore: Clarify usage of window fields in progress dialogs
/puter/src/UI/UIWindowMoveProgress.js 74:9 error 'operation_cancelled' is not defined no-undef /puter/src/UI/UIWindowNewFolderProgress.js 67:9 error 'operation_cancelled' is not defined no-undef /puter/src/UI/UIWindowProgressEmptyTrash.js 67:9 error 'operation_cancelled' is not defined no-undef
This commit is contained in:
parent
abc70f2e92
commit
ece37b62f2
@ -71,7 +71,7 @@ async function UIWindowMoveProgress(options){
|
|||||||
});
|
});
|
||||||
|
|
||||||
$(el_window).find('.move-cancel-btn').on('click', function(e){
|
$(el_window).find('.move-cancel-btn').on('click', function(e){
|
||||||
operation_cancelled[options.operation_id] = true;
|
window.operation_cancelled[options.operation_id] = true;
|
||||||
$(el_window).close();
|
$(el_window).close();
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ async function UIWindowNewFolderProgress(options){
|
|||||||
});
|
});
|
||||||
|
|
||||||
$(el_window).find('.newfolder-cancel-btn').on('click', function(e){
|
$(el_window).find('.newfolder-cancel-btn').on('click', function(e){
|
||||||
operation_cancelled[options.operation_id] = true;
|
window.operation_cancelled[options.operation_id] = true;
|
||||||
$(el_window).close();
|
$(el_window).close();
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ async function UIWindowProgressEmptyTrash(options){
|
|||||||
});
|
});
|
||||||
|
|
||||||
$(el_window).find('.newfolder-cancel-btn').on('click', function(e){
|
$(el_window).find('.newfolder-cancel-btn').on('click', function(e){
|
||||||
operation_cancelled[options.operation_id] = true;
|
window.operation_cancelled[options.operation_id] = true;
|
||||||
$(el_window).close();
|
$(el_window).close();
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user