Fix ajax toggleStar to show the star image

Review Request #350 — Created April 6, 2008 and submitted

Information

Review Board SVN (deprecated)
trunk

Reviewers

I've set up review board on my local machine, and I found tiny bug about ajax toggle star .
Api json access of toggleStar()  works correctly (database is updated correctly), but after that the star image doesn't appear until the page is reloaded.
It seems to be caused because of change of /images dir.
I modified the star path to /media/images/.... by using MEDIA_URL.
Tested on my local server
chipx86
  1. Looks good, thanks! Committed as r1291.
  2. 
      
Loading...