FIXED: BUG-30: when restoring, the OK button is red not green in dbox, added new BUG-32: sometimes still getting extra directories in Bin, that just have a trailing slash (or 2 or 3, etc.)
This commit is contained in:
2
BUGs
2
BUGs
@@ -1,4 +1,4 @@
|
|||||||
### Next: 32
|
### Next: 32
|
||||||
BUG-29: when delete/restore from search view the popup shows a path icon - in wrong spot, move it or lose it
|
BUG-29: when delete/restore from search view the popup shows a path icon - in wrong spot, move it or lose it
|
||||||
BUG-30: when restoring, the OK button is red not green in dbox
|
|
||||||
BUG-31: can post move/del DBoxes without highlighted files/content
|
BUG-31: can post move/del DBoxes without highlighted files/content
|
||||||
|
BUG-32: sometimes still getting extra directories in Bin, that just have a trailing slash (or 2 or 3, etc.)
|
||||||
|
|||||||
@@ -245,14 +245,17 @@ function DelDBox(del_or_undel)
|
|||||||
<button onClick="$('#dbox').modal('hide'); $.ajax({ type: 'POST', url:
|
<button onClick="$('#dbox').modal('hide'); $.ajax({ type: 'POST', url:
|
||||||
`
|
`
|
||||||
if( del_or_undel == "Delete" )
|
if( del_or_undel == "Delete" )
|
||||||
div+="'/delete_files', "
|
div+=`
|
||||||
else
|
'/delete_files',
|
||||||
div+="'/restore_files', "
|
|
||||||
div+=`
|
|
||||||
data: to_del,
|
|
||||||
success: function(data){ window.location='/'; return false; } })" class="btn btn-outline-danger col-lg-2">Ok</button>
|
success: function(data){ window.location='/'; return false; } })" class="btn btn-outline-danger col-lg-2">Ok</button>
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
|
else
|
||||||
|
div+=`
|
||||||
|
'/restore_files',
|
||||||
|
success: function(data){ window.location='/'; return false; } })" class="btn btn-outline-success col-lg-2">Ok</button>
|
||||||
|
</div>
|
||||||
|
`
|
||||||
$('#dbox-content').html(div)
|
$('#dbox-content').html(div)
|
||||||
$('#dbox').modal('show')
|
$('#dbox').modal('show')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user