AegeusCoin / aegeus-ui

0 stars 2 forks source link

Modify redirectFileList to take a specific location as argument #88

Open AegeusCoin opened 5 years ago

AegeusCoin commented 5 years ago

Currently when redirecting back to specific pages after performing actions on content such as addition, removal, changes, etc. we're calling something similar to this:

new RedirectHandler("/portal/files?addr=" + rawAddr + "#pills-contact").handleRequest(exchange);

It would be more elegant to just modify the existing redirectFileList function to take an argument such as "#pills-contact" and replace these individual instances with a common function.