susee:log
This commit is contained in:
parent
373a1636b2
commit
8b146b36af
@ -297,12 +297,13 @@ $(document).ready(function () {
|
||||
|
||||
$(".fileName").click(function(){
|
||||
data = $(this).attr('id').split("|");
|
||||
var getUrl = window.location;
|
||||
path_name = getUrl.pathname.slice(0,-4)+'readlogs';
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: "/api/readlogs",
|
||||
url: path_name,
|
||||
data: {'file' : data[0] , 'folder' : data[1]},
|
||||
success: function(response) {
|
||||
console.log(response);
|
||||
$('.modal-title').html(data[0]);
|
||||
$('.modal-body').html(response.data);
|
||||
$('#myModal').modal('show');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user