diff --git a/src/main/resources/META-INF/resources/config/navigation.xml b/src/main/resources/META-INF/resources/config/navigation.xml index 265c667a..4063aeea 100644 --- a/src/main/resources/META-INF/resources/config/navigation.xml +++ b/src/main/resources/META-INF/resources/config/navigation.xml @@ -215,7 +215,7 @@ - + diff --git a/src/main/resources/META-INF/resources/js/digibib.js b/src/main/resources/META-INF/resources/js/digibib.js index d3202d43..964955e8 100644 --- a/src/main/resources/META-INF/resources/js/digibib.js +++ b/src/main/resources/META-INF/resources/js/digibib.js @@ -32,10 +32,6 @@ $(document).ready(function() { }; } - // replace placeholder USERNAME with username - var userID = $("#currentUser strong").html(); - var newHref = 'https://leopard.tu-braunschweig.de/servlets/solr/select?q=state%3Asubmitted%20AND%20createdby:' + userID + '&fq=objectType:mods'; - $("a[href='https://leopard.tu-braunschweig.de/servlets/solr/select?q=state%3Asubmitted%20AND%20createdby:USERNAME']").attr('href', newHref); // spam protection for mails $('span.madress').each(function(i) { var text = $(this).text();