diff --git a/chrome/content/mailhops.js b/chrome/content/mailhops.js index 59b6de7..c6b5443 100644 --- a/chrome/content/mailhops.js +++ b/chrome/content/mailhops.js @@ -27,6 +27,14 @@ mailHops.init = function() { //load preferences mailHops.loadPref(); + document.getElementById("mailhopsDataPanePrefsLink").addEventListener("click", function () { + window.openDialog("chrome://mailhops/content/preferences.xul","","chrome, dialog, modal, centerscreen").focus(); + }); + + document.getElementById("mailhopsDataPaneRefreshLink").addEventListener("click", function () { + mailHops.refreshCache(); + }); + mailHops.isLoaded = true; }; @@ -66,14 +74,6 @@ mailHops.loadPref = function() }); } - document.getElementById("mailhopsDataPanePrefsLink").addEventListener("click", function () { - window.openDialog("chrome://mailhops/content/preferences.xul","","chrome, dialog, modal, centerscreen").focus(); - }); - - document.getElementById("mailhopsDataPaneRefreshLink").addEventListener("click", function () { - mailHops.refreshCache(); - }); - //init display mailHopsDisplay.init( mailHops.options ); }; diff --git a/install.rdf b/install.rdf index a08f5ff..b8a0ea1 100644 --- a/install.rdf +++ b/install.rdf @@ -13,7 +13,7 @@ http://www.mailhops.com Andrew Van Tassel chrome://mailhops/content/preferences.xul - https://dl.dropbox.com/u/1533417/mailhops_update.rdf + diff --git a/mailhops.xpi b/mailhops.xpi index 7b42ffb..03d19bc 100644 Binary files a/mailhops.xpi and b/mailhops.xpi differ