Bug 1492522 - Port Bug 1465219: Replace MenuBoxObject with XULElement subclass in suite/. r=frg
This commit is contained in:
Родитель
7eae78831c
Коммит
cb144da856
|
@ -159,7 +159,8 @@ typeAheadFind.prototype = {
|
|||
return true;
|
||||
|
||||
// Don't start a find if the focus is on a form element.
|
||||
if (ChromeUtils.getClassName(element) === "XULElement" ||
|
||||
if ((element.nodeType == element.ELEMENT_NODE &&
|
||||
element.namespaceURI == "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul") ||
|
||||
ChromeUtils.getClassName(element) === "HTMLEmbedElement" ||
|
||||
ChromeUtils.getClassName(element) === "HTMLObjectElement" ||
|
||||
ChromeUtils.getClassName(element) === "HTMLSelectElement" ||
|
||||
|
|
|
@ -649,7 +649,7 @@ var gSyncSetup = {
|
|||
Weave.Svc.Prefs.reset("serverURL");
|
||||
} else {
|
||||
// Prevent double selection upon using down key.
|
||||
control.menuBoxObject.activeChild = null;
|
||||
control.activeChild = null;
|
||||
control.editable = true;
|
||||
control.value = "";
|
||||
}
|
||||
|
|
|
@ -1646,7 +1646,7 @@
|
|||
<parameter name="event"/>
|
||||
<body>
|
||||
<![CDATA[
|
||||
this.boxObject.openMenu(false);
|
||||
this.openMenu(false);
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
|
Загрузка…
Ссылка в новой задаче