mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
I leaned on my keyboard just before the last commit. Fixed the things
This commit is contained in:
parent
e08df4d369
commit
f539f9e095
@ -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
|
||||
|
||||
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user