diff --git a/static/js/utils/asyncTable.js b/static/js/utils/asyncTable.js index 5e8e371e9..e4b7d87bc 100644 --- a/static/js/utils/asyncTable.js +++ b/static/js/utils/asyncTable.js @@ -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); }