close #71; fix bugs

This commit is contained in:
Henrique Dias committed 2016-06-07 18:15:55 +01:00
1 parent acc4c92b15
commit 4cd72ca58d
11 files changed
+38 -32

No files matched your search

+5 -1
View File
@@ -1,10 +1,14 @@
var basePath = "/";
$(document).ready(function() {
basePath += window.location.pathname.split('/')[0];
// Log out the user sending bad credentials to the server
$("#logout").click(function(event) {
event.preventDefault();
$.ajax({
type: "GET",
url: "/admin",
url: basePath + "",
async: false,
username: "username",
password: "password",