fix broken table sorting due to links being absolute all of a sudden
This commit is contained in:
parent
92c01150a6
commit
642a929d93
@ -124,7 +124,10 @@
|
||||
|
||||
function clickHandler(event, tableOptions) {
|
||||
event.preventDefault();
|
||||
var url = new URL(window.location.origin + window.location.pathname + getClickDestination(this));
|
||||
var url = getClickDestination(this);
|
||||
if (!url.match(/^http/)) {
|
||||
url = new URL(window.location.origin + window.location.pathname + getClickDestination(this));
|
||||
}
|
||||
updateTableFrom(url, tableOptions);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user