Commit b9276b42 authored by Peter Walter's avatar Peter Walter
Browse files

cc spam messages to rt-spam@ebi.ac.uk

parent e7aca32d
......@@ -770,7 +770,7 @@ function init() {
container,
'Report Spam',
"javascript:(function(){" +
"links=document.querySelectorAll('.actions .forward-link');fw=window.open(links[links.length-1].href+'&To=is-spam@labs.sophos.com&Content=Reporting+as+spam&Click=Forward','_blank');wait=setInterval(function(){if(fw.document.location.pathname=='/Ticket/Forward.html'&&fw.document.location.search==''){" +
"links=document.querySelectorAll('.actions .forward-link');fw=window.open(links[links.length-1].href+'&To=is-spam@labs.sophos.com&CC=rt-spam@ebi.ac.uk&Content=Reporting+as+spam&Click=Forward','_blank');wait=setInterval(function(){if(fw.document.location.pathname=='/Ticket/Forward.html'&&fw.document.location.search==''){" +
"clearInterval(wait);fw.close();" +
"mod=document.querySelector('a#page-basics').href;jQuery.ajax({url:mod+'&Status=deleted',cache:false,complete:function(){location.reload();}})" +
"}},1000);" +
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment