mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-15 06:20:41 +00:00
Bug 980911 - Rewrite inline script/style in browser/base/content/aboutaccounts/aboutaccounts.xhtml (about:accounts). r=ttaubert
This commit is contained in:
parent
adc70f119a
commit
3435494a41
@ -344,6 +344,14 @@ function showManage() {
|
||||
document.addEventListener("DOMContentLoaded", function onload() {
|
||||
document.removeEventListener("DOMContentLoaded", onload, true);
|
||||
init();
|
||||
var buttonGetStarted = document.getElementById('buttonGetStarted');
|
||||
buttonGetStarted.addEventListener('click', getStarted);
|
||||
|
||||
var oldsync = document.getElementById('oldsync');
|
||||
oldsync.addEventListener('click', handleOldSync);
|
||||
|
||||
var buttonOpenPrefs = document.getElementById('buttonOpenPrefs')
|
||||
buttonOpenPrefs.addEventListener('click', openPrefs);
|
||||
}, true);
|
||||
|
||||
function initObservers() {
|
||||
|
@ -46,7 +46,7 @@
|
||||
<div class="graphic graphic-sync-intro"> </div>
|
||||
|
||||
<div class="button-row">
|
||||
<a class="button" href="#" onclick="openPrefs()">&aboutAccountsConfig.manage.label;</a>
|
||||
<a id="buttonOpenPrefs" class="button" href="#">&aboutAccountsConfig.manage.label;</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@ -62,11 +62,11 @@
|
||||
<div class="description">&aboutAccountsConfig.description;</div>
|
||||
|
||||
<div class="button-row">
|
||||
<a class="button" href="#" onclick="getStarted()">&aboutAccountsConfig.startButton.label;</a>
|
||||
<a id="buttonGetStarted" class="button" href="#">&aboutAccountsConfig.startButton.label;</a>
|
||||
</div>
|
||||
|
||||
<div class="links">
|
||||
<a id="oldsync" class="no-underline" href="#" onclick="handleOldSync();">&aboutAccountsConfig.useOldSync.label;</a>
|
||||
<a id="oldsync" class="no-underline" href="#">&aboutAccountsConfig.useOldSync.label;</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user