Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

收藏之后的按钮没有变化 #6

Closed
plidezus opened this issue Jan 19, 2013 · 4 comments
Closed

收藏之后的按钮没有变化 #6

plidezus opened this issue Jan 19, 2013 · 4 comments
Assignees
Labels

Comments

@plidezus
Copy link
Owner

应该reload页面并且显示按钮为“取消收藏”

@ghost ghost assigned GavinFoo and fcrosfly Jan 19, 2013
fcrosfly added a commit that referenced this issue Jan 21, 2013
@fcrosfly
Copy link
Collaborator

现在可以用

Action::isFav($user, $video)

判断一个User 是不是已经Fav了一个Video

@ghost ghost assigned GavinFoo Jan 21, 2013
@GavinFoo
Copy link
Collaborator

@fcrosfly 现在action声明中貌似有些问题,验证的$user 貌似是发布用户的id 而不是visitor的id。但是我把函数中的变量改为 visitor后,出现了永久变成1的情况 http://www.aimozhen.com/detail.php?id=95 “收藏回馈数值(TEST) 1”

@GavinFoo
Copy link
Collaborator

@fcrosfly 现在action声明中貌似有些问题,验证的$user 貌似是发布用户的id 而不是visitor的id。但是我把函数中的变量改为 visitor后,出现了永久变成1的情况 http://www.aimozhen.com/detail.php?id=95 “收藏回馈数值(TEST) 1”

@GavinFoo GavinFoo closed this as completed Feb 8, 2013
@GavinFoo
Copy link
Collaborator

#6 -2

GavinFoo added a commit that referenced this issue Feb 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants