Closed macklay closed 10 years ago
@qiangxue Looks good to me.
Thanks!
@pjacquemin nope... The included option history
is set to true
by default
Yes, I know that history
is set to true
by default
If I remove the line 389 of this commit the $.pjax.reload();
method works again.
Seems to be the option history
is not set to true
in locationReplace(url)
when using $.pjax.reload();
My code is working with an other Yii2 project (beta stability) but not with a project with dev stability.
Maybe I have missing something but dont know what ...
I have replaced $.pjax.reload();
by window.location.reload();
for the moment on my project but we are going to move to the beta stability to get $.pjax.reload();
working again.
@pjacquemin Could you create a new issue about this? This needs further investigation.
add option for forced disable all window.history.<.*> calls. Needed for using third part hisory lib(Backbone.Router or others)