Comment #1 on issue 791 by timw.at.work: "Publish Reply" notification banner appears on unmodified reviews following modified review http://code.google.com/p/reviewboard/issues/detail?id=791
Firebug = awesome... Cheat sheet: $.fn.commentSection = function(review_id, context_id, context_type) This gets called for each review box that is posted (seems to work fine, including receiving the correct review_id for each box). This function uses nested selectors to essentially do: find(div#review_id).find(div.banner).do_something Here's the catch: the page structure does not sync with the script's assumption. The structure actually looks like: review 1: div#content > div#reviewX > div.box-container... review 2: div#content > div#reviewX > div#reviewY > div.box-container... review 3: div#content > div#reviewX > div#reviewY > div#reviewZ > div.box-container... Essentially, this means find(div#reviewX).find(div.banner) yields all successive reviews' banners. I'll apologize now for taking my research this far and not posting a fix, but I haven't constructed one yet. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "reviewboard-issues" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/reviewboard-issues?hl=en -~----------~----~----~----~------~----~------~--~---
