зеркало из https://github.com/mozilla/gecko-dev.git
Bug 353177 - Details link has ugly focus while downloading an update. r=dietrich
This commit is contained in:
Родитель
23fb28ac56
Коммит
9749e376cf
|
@ -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">
|
||||
|
|
Загрузка…
Ссылка в новой задаче