snippet's signal changes url in the address bar
Notice: This thread is very old.
- kekcuko
- Member | 5
Example:
url http://site.ru/admin/notices
becomes http://site.ru/…icesnippet/2?…
I'm using pirobox (an analogue of lightbox) and if signal was sent then
refreshing leads to http://site.ru/…icesnippet/2?….
So, refreshing the page would lead to noticesnippet/2?not… which I don't want
to be loaded.
Is there some way to prevent url changing?
- CherryBoss
- Member | 608
I don't know, whether i understand your problem. However i think there is problem that you don't redirect in action handler. Then the url will be “…/notices” use this in your signal handler:
$this->redirect("this"); //if it is in a presenter, or
$this->presenter->redirect("this"); //when it is in component - i guess, it is in a component
Last edited by CherryBoss (2012-03-31 15:49)