susee:log
This commit is contained in:
parent
ba800f3dcc
commit
373a1636b2
@ -315,9 +315,12 @@ $(".fileName").click(function(){
|
||||
|
||||
$(".delete").click(function(){
|
||||
data = $(this).attr('id').split("|");
|
||||
var getUrl = window.location;
|
||||
path_name = getUrl.pathname.slice(0,-4)+'deletelog';
|
||||
alert(path_name)
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/api/deletelog",
|
||||
url: path_name,
|
||||
data: {'file' : data[0] , 'folder' : data[1]},
|
||||
success: function(response) {
|
||||
console.log(response);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user