зеркало из https://github.com/mozilla/pjs.git
Bug 79849; set initial position of 'New Type' and 'Edit Type' dialogs; r=sgehani, sr=ben
This commit is contained in:
Родитель
abd7bb9b79
Коммит
1188c4c80f
|
@ -37,6 +37,7 @@
|
||||||
<stringbundle id="bundle_prefApplications"
|
<stringbundle id="bundle_prefApplications"
|
||||||
src="chrome://communicator/locale/pref/pref-applications.properties"/>
|
src="chrome://communicator/locale/pref/pref-applications.properties"/>
|
||||||
|
|
||||||
|
<script type="application/x-javascript" src="chrome://global/content/dialogOverlay.js"/>
|
||||||
<script type="application/x-javascript" src="chrome://communicator/content/pref/overrideHandler.js"/>
|
<script type="application/x-javascript" src="chrome://communicator/content/pref/overrideHandler.js"/>
|
||||||
<script type="application/x-javascript">
|
<script type="application/x-javascript">
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
|
@ -127,6 +128,9 @@
|
||||||
document.getElementById("contentTypeImage").setAttribute("src", imageString);
|
document.getElementById("contentTypeImage").setAttribute("src", imageString);
|
||||||
|
|
||||||
gMIMEField.focus();
|
gMIMEField.focus();
|
||||||
|
|
||||||
|
sizeToContent();
|
||||||
|
moveToAlertPosition();
|
||||||
}
|
}
|
||||||
|
|
||||||
function doEnabling()
|
function doEnabling()
|
||||||
|
|
|
@ -38,6 +38,8 @@ function Startup()
|
||||||
} else {
|
} else {
|
||||||
gDescriptionField.focus();
|
gDescriptionField.focus();
|
||||||
}
|
}
|
||||||
|
sizeToContent();
|
||||||
|
moveToAlertPosition();
|
||||||
}
|
}
|
||||||
|
|
||||||
function chooseApp()
|
function chooseApp()
|
||||||
|
|
Загрузка…
Ссылка в новой задаче