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:
Sam Atkins 2024-05-01 16:58:45 +01:00
parent abc70f2e92
commit ece37b62f2
3 changed files with 3 additions and 3 deletions

View File

@ -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();
})

View File

@ -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();
})

View File

@ -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();
})