Bug 980911 - Rewrite inline script/style in browser/base/content/aboutaccounts/aboutaccounts.xhtml (about:accounts). r=ttaubert

This commit is contained in:
Bernd Loeber
2014-04-26 08:32:00 -04:00
parent d55cff5538
commit ec8a41db24
2 changed files with 11 additions and 3 deletions

View File

@@ -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() {