mirror of
https://github.com/HeyPuter/puter.git
synced 2026-11-10 16:03:01 +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:
1 parent
abc70f2e92
commit
ece37b62f2
3 files changed
+3
-3
No files matched your search
@@ -71,7 +71,7 @@ async function UIWindowMoveProgress(options){
|
||||
});
|
||||
|
||||
$(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();
|
||||
})
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ async function UIWindowNewFolderProgress(options){
|
||||
});
|
||||
|
||||
$(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();
|
||||
})
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ async function UIWindowProgressEmptyTrash(options){
|
||||
});
|
||||
|
||||
$(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();
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user