RedDot release page without plugin but in the page

Today I had the issue to release a page without able to access the file system and creating a plugin for that which would be nicer. But it also works inside the content template class. it is no ideal, but it works and reloads the page.


function release_page(){
location.href='ioRD.asp?Action=ReleasePage&EditLinkGuid=<%PageGUID%>';
location.reload();
return true;
}


release snippet