This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why +1/thumb up action is not AJAX

 
Sagar Rohankar
Ranch Hand
Posts: 2906
1
Java Spring Ubuntu
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, certainly we can improve the +1/tumb-up action by making it AJAX request, but its not there ? I'm wondering the reason behind keeping it the old-fashioned-page-refresh way?
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The thumbs-up +1 *IS* implemented via AJAX - there is no page reload. What exactly do you mean?
 
Pushkar Choudhary
Rancher
Posts: 425
Android Eclipse IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, I've noticed it too. The whole page refreshes when I press the thumbs-up button.
 
Matthew Brown
Bartender
Posts: 4565
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have JavaScript disabled? If you have it disabled it will fall back to a page refresh. But it will use AJAX if it can.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Likes 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is because you got a JavaScript error folks.



Fix the error and there will be no more refreshing.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is now fixed -- thanks for letting us know about it!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic