Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.

Commit

Permalink
hotfix for bug #32
Browse files Browse the repository at this point in the history
  • Loading branch information
mojoaxel committed Aug 17, 2013
1 parent 93e4ea7 commit bfd5a7c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,17 @@ $('#accessBtn').click(function(e) {
success: function(data){
//wait for 2 seconds to give the proxy-server time to write the access rights into the database
//and than go to the page the user originally requested
setTimeout(function() {
history.go(-1); //see bug #32
//window.history.back()
}, 2000);

setTimeout(function() {
//history.go(-1); //see bug #32
window.history.back()
}, 2000);
}, 2100);

$('#container').fadeOut(2500);
//$('#container').fadeOut(2500);
},
error: function() {
alert("Es gab leider ein Problem :-(");
Expand Down

0 comments on commit bfd5a7c

Please sign in to comment.