Prevent getassertion.html from appearing in history

This commit is contained in:
Cathy J. Fitzpatrick
2013-04-07 03:03:18 -07:00
parent 8f55a4dbb9
commit 355eeeb904

View File

@@ -16,9 +16,9 @@ $.ajax({
}).done(function(data) {
$.cookie('assertion', data);
if (location.search) {
document.location = decodeURIComponent(location.search.substr(1));
document.location.replace(decodeURIComponent(location.search.substr(1)));
} else {
document.location = '/';
document.location.replace('/');
}
});
</script>