mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1120080 - Fix about:firefox updater hooks. r=mfinkle
This commit is contained in:
parent
977a616783
commit
117baea8b7
@ -98,6 +98,10 @@ function init() {
|
||||
let downloadingSpan = document.getElementById("update-message-downloading");
|
||||
let downloadedSpan = document.getElementById("update-message-downloaded");
|
||||
|
||||
updateLink.onclick = checkForUpdates;
|
||||
foundSpan.onclick = downloadUpdate;
|
||||
downloadedSpan.onclick = installUpdate;
|
||||
|
||||
function showCheckAction() {
|
||||
checkingSpan.style.display = "none";
|
||||
noneSpan.style.display = "none";
|
||||
|
@ -31,12 +31,12 @@
|
||||
<div id="logo"/>
|
||||
#ifdef MOZ_UPDATER
|
||||
<div id="updateBox">
|
||||
<a id="updateLink" href="" onclick="checkForUpdates();">&aboutPage.checkForUpdates.link;</a>
|
||||
<a id="updateLink" href="">&aboutPage.checkForUpdates.link;</a>
|
||||
<span id="update-message-checking">&aboutPage.checkForUpdates.checking;</span>
|
||||
<span id="update-message-none">&aboutPage.checkForUpdates.none;</span>
|
||||
<span id="update-message-found" onclick="downloadUpdate()">&aboutPage.checkForUpdates.available2;</span>
|
||||
<span id="update-message-found">&aboutPage.checkForUpdates.available2;</span>
|
||||
<span id="update-message-downloading">&aboutPage.checkForUpdates.downloading;</span>
|
||||
<span id="update-message-downloaded" onclick="installUpdate()">&aboutPage.checkForUpdates.downloaded2;</span>
|
||||
<span id="update-message-downloaded">&aboutPage.checkForUpdates.downloaded2;</span>
|
||||
</div>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user