Comment #2 on issue 2707 by Unable to publish a review with comments on a screenshot

The following workaround fixed it for me (which was enough to restore functionality for my users while a real fix is implemented):

diff --git a/reviewboard/htdocs/media/rb/js/reviews.js b/reviewboard/htdocs/media/rb/js/reviews.js
index 9888b4a..53e675b 100644
--- a/reviewboard/htdocs/media/rb/js/reviews.js
+++ b/reviewboard/htdocs/media/rb/js/reviews.js
@@ -1435,7 +1435,8 @@ $.reviewForm = function(review) {
         $(".comment-editable", dlg).each(function() {
             var editable = $(this);
             var comment ='comment');
-            var issueOpened =[0].checked;
+            var issueOpened_ =[0];
+            var issueOpened = issueOpened_ ? issueOpened_.checked : false;

             if (editable.inlineEditor("dirty") ||
                 issueOpened != comment.issue_opened) {

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to