XF 2.0 Returned view is showing inside popup

CMTV

Well-known member
Hi!

I have extended Thread class and added my own action... methods.

At the end of my action I want to simply show current thread (with page refresh) (thread where my button was clicked):

PHP:
return $this->redirectPermanently($this->buildLink('threads', $thread));

The problem is that current thread is showing inside popup:
Screenshot_1.webp
I need to simply refresh current thread page.
 
This would relate more to the JS side of things (or the HTML that interacts with it). How is this being triggered? What HTML are you using?
 
Back
Top Bottom