
Many who use the Simple Karma module (for Drupal 5.x) faced the following problem: when giving a vote for any material / comment, the module’s functionality worked (i.e., the voice was counted), but the value on the page was not updated dynamically ( after reloading the page).
It seems I managed to find a solution to this problem. Although its nature is still not clear to me (if someone knows what's the matter, tell me).
Decision:
in the file simple_karma.js find the line number 171:
$ ("#" + did + "span.karma_score"). text (args.karma_aggregate);it contains the new value of "karma" in the element.
As I said before, the functionality is fully working correctly, but the new value is not written to the output stream.
replace it with a string like:
$ ("#" + did + "span.karma_score"). text ("" + args.karma_aggregate);')
And everything works as it should.