Backed out changeset d67c6dcba478 (bug 430745) on request from jaws. r=backout

MozReview-Commit-ID: DGzLTDimdZZ
This commit is contained in:
Sebastian Hengst 2016-11-14 16:25:04 +01:00
Родитель a2a15254fc
Коммит 55da257ddf
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -8,9 +8,6 @@ this.EXPORTED_SYMBOLS = [
"SelectParentHelper"
];
const {utils: Cu} = Components;
const { AppConstants } = Cu.import("resource://gre/modules/AppConstants.jsm");
// Maximum number of rows to display in the select dropdown.
const MAX_ROWS = 20;
@ -60,7 +57,7 @@ this.SelectParentHelper = {
constraintRect.top + win.mozInnerScreenY,
constraintRect.width, constraintRect.height);
menupopup.setConstraintRect(constraintRect);
menupopup.openPopupAtScreenRect(AppConstants.platform == "macosx" ? "selection" : "after_start", rect.left, rect.top, rect.width, rect.height, false, false);
menupopup.openPopupAtScreenRect("after_start", rect.left, rect.top, rect.width, rect.height, false, false);
},
hide: function(menulist, browser) {