Permalink
Browse files

Make gReviewRequest and gCommentDlg public.

Two more variables that need to be public. These are simply made global,
instead of making them part of RB.
  • Loading branch information...
1 parent aa7b97b commit 4c72538fa9814aca7c09746285e5efb6ffe460d6 @chipx86 chipx86 committed Apr 9, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 reviewboard/static/rb/js/reviews.js
@@ -1,6 +1,9 @@
+this.gCommentDlg = null;
+this.gReviewRequest = new RB.ReviewRequest(gReviewRequestId,
+ gReviewRequestSitePrefix,
+ gReviewRequestPath);
// State variables
-var gCommentDlg = null;
var gEditCount = 0;
var gPublishing = false;
var gPendingSaveCount = 0;
@@ -9,9 +12,6 @@ var gReviewBanner = $("#review-banner");
var gDraftBanner = $("#draft-banner");
var gDraftBannerButtons = $("input", gDraftBanner);
var gFileAttachmentComments = {};
-var gReviewRequest = new RB.ReviewRequest(gReviewRequestId,
- gReviewRequestSitePrefix,
- gReviewRequestPath);
/*

0 comments on commit 4c72538

Please sign in to comment.