Lines 68-73
$(document).ready(function() {
Link Here
|
68 |
let url = new URL(window.location.href); |
68 |
let url = new URL(window.location.href); |
69 |
url.searchParams.append('modal','checkout'); |
69 |
url.searchParams.append('modal','checkout'); |
70 |
$('#modalAuth').append('<input type="hidden" name="return" value="' + url.href +'" />'); |
70 |
$('#modalAuth').append('<input type="hidden" name="return" value="' + url.href +'" />'); |
|
|
71 |
$('#shib_login').each(function(){ |
72 |
this.url = this.url.replace(/target=(.*)/, "target=" + url.href); |
73 |
}); |
71 |
$('#loginModal').modal('show'); |
74 |
$('#loginModal').modal('show'); |
72 |
return false; |
75 |
return false; |
73 |
} |
76 |
} |
74 |
- |
|
|