Do not keep processing the file/folder paths if the user has cancelled the operation and fix #1124 (#1177)
This commit is contained in:
parent
1ffb5acfad
commit
b5022766df
5 changed files with 16 additions and 3 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -55,6 +55,10 @@ class ActionsClass {
|
|||
showLoaderOnConfirm: true,
|
||||
inputValue: inputValue
|
||||
}, (val) => {
|
||||
if (val === false) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
headers: {
|
||||
|
@ -100,6 +104,10 @@ class ActionsClass {
|
|||
showLoaderOnConfirm: true,
|
||||
inputValue: `${currentPath}${currentName}`,
|
||||
}, (val) => {
|
||||
if (val === false) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
headers: {
|
||||
|
@ -233,6 +241,10 @@ class ActionsClass {
|
|||
showLoaderOnConfirm: true,
|
||||
inputValue: `${currentPath}${currentName}`,
|
||||
}, (val) => {
|
||||
if (val === false) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
headers: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue