1001: Adding comment to review fails with javascript error

hoch****@gmai***** (Google Code) (Is this you? Claim this profile.)
chipx86
chipx86
March 30, 2009
What's the URL of the page containing the problem?
http://reviews.review-board.org/r/589/diff/#index_header

What steps will reproduce the problem?
1. Click on any line number to add a new comment
2. The green comment flag appears at the beginning of the line, however no 
dialog ever appeared to enter the comment.
3. Looking at javasript error console I see the following output:

"Error: gCommentDlg.one("close", function () 
{gCommentDlg.setCommentBlock(self).css({left: $(document).scrollLeft() + 
($(window).width() - gCommentDlg.width()) / 2, top: 
self.endRow.offset().top + self.endRow.height()}).open(self.el);}).close is 
not a function
Source File: http://reviews.review-board.org/media/rb/js/diffviewer.js?
1238313533
Line: 361"

What is the expected output? What do you see instead?
Expected output is to display the comments dialog as described in the 
documentation (http://review-
board.org/docs/manual/dev/users/reviews/reviewing-diffs/).

What operating system are you using? What browser?
Tested on Win XP SP3, FF 3, Safari 3 and Chrome.
#1 bacc****@gmai***** (Google Code) (Is this you? Claim this profile.)
Same problem.
beta1.
Installed on Ubuntu 8.04 server
Tested on Win Xp, FF 3, Safari 3.
chipx86
#2 chipx86
Fixed in r1886. Doing a release soon.
  • +Fixed
  • -Priority-Medium
    +Priority-Critical
    +Milestone-Release1.0
    +Component-DiffViewer
  • +chipx86