Download & Extend

update summary link when a vote is made via jQuery

Project:Plus 1
Version:6.x-2.x-dev
Component:Code
Category:task
Priority:normal
Assigned:firebus
Status:needs review

Issue Summary

if javascript is available and someone votes on a node, the score in the widget is updated dynamically.

however, if the summary link is enabled, the summary link is not updated.

this patch extends jquery.plus1.js so that the summary link is also updated.

one possible drawback is that this patch assumes links are formatted by core theme_links. if a theme has overridden theme_links, then we can't reliably replace the text.

of course, the same thing can happen if a theme overrides theme_plus1_widget as well...

Comments

#1