I leaned on my keyboard just before the last commit. Fixed the things

This commit is contained in:
Andrew 2021-08-19 23:50:24 -04:00
parent e08df4d369
commit f539f9e095
2 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ class AjaxHandler(BaseHandler):
server_id = self.get_argument('id', None)
path = self.get_argument('path', None)
helper.unzipFile(path)
self.render_page("/panel/server_detail?id={}&subpage=files".format(server_id))
self.redirect("/panel/server_detail?id={}&subpage=files".format(server_id))
return

View File

@ -531,7 +531,7 @@
path: path
},
});
location.href="/
window.location.href = "/panel/server_detail?id={{ data['server_stats']['server_id']['server_id'] }}&subpage=files"
}
function uploadFilesE(event){
path = event.target.parentElement.getAttribute('data-path');