MozReview: Review Page Redesign: Prevent reviewboard from calculating main content height (
Bug 1309964). r?glob
MozReview-Commit-ID: CEvvyILqU1A
--- a/reviewboard/reviewboard/static/rb/js/views/reviewRequestEditorView_mozreview.js
+++ b/reviewboard/reviewboard/static/rb/js/views/reviewRequestEditorView_mozreview.js
@@ -1353,18 +1353,16 @@ RB.ReviewRequestEditorView = Backbone.Vi
editor.setSize(null, 'auto');
}
/*
* Set the review request box's main height to take up the full
* amount of spaces between its top and the top of the "extra"
* pane (where the issue summary table and stuff live).
*/
- this._$main.height(this._$extra.offset().top -
- this._$main.offset().top);
height = this._$main.height();
if ($lastContent.outerHeight() + lastContentTop < height) {
$lastContent.outerHeight(height - lastContentTop);
/*
* Get the size of the content box, and factor in the padding at
* the bottom, to balance out position()'s calculation of the