Finishing up pathing issues, writing user object if they haven't visited in a day

This commit is contained in:
Nathan Leniz
2015-01-27 17:39:53 -05:00
parent 504838083e
commit 01bdbd8f4d
3 changed files with 12 additions and 12 deletions

View File

@@ -39,9 +39,6 @@ $(document).ready(function() {
$('#complete-bonfire-dialog').modal('show');
// Only post to server if there is an authenticated user
if ($('.signup-btn-nav').length < 1) {
l = location.pathname.split('/');
cn = l[l.length - 1];
$.ajax({
type: 'POST',
data: {
@@ -52,7 +49,12 @@ $(document).ready(function() {
}
},
url: '/completed-bonfire/'
})
});
//$.post( '/completed-bonfire', function( data ) {
// window.location = '/bonfires';
//});
}
}