зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset d67c6dcba478 (bug 430745) on request from jaws. r=backout
MozReview-Commit-ID: DGzLTDimdZZ
This commit is contained in:
Родитель
a2a15254fc
Коммит
55da257ddf
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче