Bug 353177 - Details link has ugly focus while downloading an update. r=dietrich

This commit is contained in:
Robert Strong 2008-09-05 09:57:23 -07:00
Родитель 23fb28ac56
Коммит 9749e376cf
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -1170,6 +1170,10 @@ var gDownloadingPage = {
this._pauseButton = document.getElementById("pauseButton");
this._label_downloadStatus = this._downloadStatus.textContent;
// move focus to the pause/resume button and then disable it (bug #353177)
this._pauseButton.focus();
this._pauseButton.disabled = true;
var updates =
Components.classes["@mozilla.org/updates/update-service;1"].
getService(Components.interfaces.nsIApplicationUpdateService);

Просмотреть файл

@ -173,7 +173,7 @@
<image id="downloadThrobber"/>
<description id="downloadStatus" flex="1">&connecting.label;</description>
<button id="pauseButton" oncommand="gDownloadingPage.onPause();"
disabled="true" label="&pause.label;" accesskey="&pause.accesskey;"/>
label="&pause.label;" accesskey="&pause.accesskey;"/>
</hbox>
<separator/>
<hbox id="verificationFailed" align="start" hidden="true">