vojtech-dobes / history.nette.ajax.js

Adds History API support to nette.ajax.js addon!
30 stars 27 forks source link

redirectUrl() doesn't reload the snippet #19

Closed zraly closed 9 years ago

zraly commented 9 years ago

A have a signal.

If I use $this->redirect('Article:default', ["id" => 22]), it works.

But if I use $this->redirectUrl('/article/22'), URL will change, but snippet doesn't reload.

The response contains only redirect: "/general/comment/22", nothing more.

vojtech-dobes commented 9 years ago

The response contains only redirect: "/general/comment/22", nothing more.

And if you disable history extension (serverside), is /general/comment/22 in payload too also for redirect('Art... call?

zraly commented 9 years ago

First, I have a mistake above, it should be:

The response contains only redirect: "/article/22", nothing more.

Sorry for that.

It is quite time, I tried it now and it seems working. Can't reproduce the problem.