Skip to content

Conversation

@tof06
Copy link

@tof06 tof06 commented Mar 20, 2014

As you may see in the code, I won't fire pjax:error event in case of a redirect, because I think this is not useful (and a http redirect is not an error IMHO)

Question, should JS files be rewritten with spaces instead of tabs ?

qiangxue added a commit that referenced this pull request Mar 20, 2014
Let PJAX request follows HTTP Redirect in any case
@qiangxue qiangxue merged commit 520f8c1 into yiisoft:master Mar 20, 2014
@qiangxue
Copy link
Member

Since this is a fork, I'm not sure what CS we should take. Should we keep the original CS or the one used by Yii? Currently all core Yii JS are using spaces instead of tabs.

@samdark
Copy link
Member

samdark commented Mar 20, 2014

Depends on our intention to merge changes back. If we want it code style should be kept.

@tof06 tof06 deleted the pjax-fix-redirect branch March 21, 2014 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants