mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 531715: <menulist> in in-browser XUL does not open [r=mark.finkle]
This commit is contained in:
parent
b77e3dff25
commit
65295bd9e2
@ -1080,7 +1080,7 @@ var FormHelper = {
|
||||
if (aElement.disabled)
|
||||
return false;
|
||||
|
||||
if (aElement instanceof HTMLSelectElement || aElement instanceof HTMLTextAreaElement)
|
||||
if (this._isValidSelectElement(aElement) || aElement instanceof HTMLTextAreaElement)
|
||||
return this._isElementVisible(aElement);
|
||||
|
||||
if (aElement instanceof HTMLInputElement) {
|
||||
@ -1287,7 +1287,7 @@ var FormHelper = {
|
||||
};
|
||||
|
||||
function SelectWrapper(aControl) {
|
||||
this._control = aControl;
|
||||
this._control = aControl.wrappedJSObject || aControl;
|
||||
}
|
||||
|
||||
SelectWrapper.prototype = {
|
||||
@ -1315,7 +1315,7 @@ SelectWrapper.prototype = {
|
||||
};
|
||||
|
||||
function MenulistWrapper(aControl) {
|
||||
this._control = aControl;
|
||||
this._control = aControl.wrappedJSObject || aControl;
|
||||
}
|
||||
|
||||
MenulistWrapper.prototype = {
|
||||
|
Loading…
Reference in New Issue
Block a user