mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-10 05:47:04 +00:00
Fix for 49118, r=ben
This commit is contained in:
parent
80451f1c55
commit
f45b24c116
@ -114,7 +114,7 @@ function commonDialogOnLoad()
|
||||
|
||||
var label = param.GetString(4);
|
||||
if (label) setElementText(labelID, label);
|
||||
field.focusTextField();
|
||||
field.focus();
|
||||
|
||||
break;
|
||||
case 1:
|
||||
@ -136,7 +136,7 @@ function commonDialogOnLoad()
|
||||
unHideElementByID(containerID);
|
||||
var field = document.getElementById(fieldID);
|
||||
field.value = param.GetString(6);
|
||||
field.focusTextField();
|
||||
field.focus();
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -254,7 +254,7 @@
|
||||
</body>
|
||||
</method>
|
||||
|
||||
<method name="focusTextField">
|
||||
<method name="focus">
|
||||
<body>
|
||||
document.getAnonymousNodes(this)[0].firstChild.focus();
|
||||
</body>
|
||||
@ -266,7 +266,7 @@
|
||||
</body>
|
||||
</method>
|
||||
|
||||
<property name="controllers" onget="return document.getAnonymousNodes(this)[0].firstChild.controllers;"/>
|
||||
<property name="controllers" onget="return document.getAnonymousNodes(this)[0].controllers"/>
|
||||
<property name="textLength" onget="return document.getAnonymousNodes(this)[0].firstChild.textLength;"/>
|
||||
<property name="selectionStart" onset="document.getAnonymousNodes(this)[0].firstChild.selectionStart = val; return val;"
|
||||
onget="return document.getAnonymousNodes(this)[0].firstChild.selectionStart;"/>
|
||||
|
Loading…
Reference in New Issue
Block a user