cdm-server/src/main/webapp/js/redirect-to-rewriter.js @ b2c1eebc
1 |
$(document).ready(function(){ |
---|---|
2 |
|
3 |
// page url
|
4 |
var pathname = window.location.pathname; |
5 |
|
6 |
$('a.redirect-rewrite').each(function(){ |
7 |
var url = $(this).attr('href'); |
8 |
url = url.replace('redirectTo=\./', 'redirectTo=' + pathname); |
9 |
$(this).attr('href', url); |
10 |
});
|
11 |
});
|
- « Previous
- 1
- …
- 4
- 5
- 6
- Next »