mirror of
https://github.com/MailHops/mailhops-plugin.git
synced 2025-05-17 06:40:08 -07:00
Fixed pref bug on reload and save
This commit is contained in:
parent
94463d7406
commit
28a4976e05
@ -27,6 +27,14 @@ mailHops.init = function() {
|
|||||||
//load preferences
|
//load preferences
|
||||||
mailHops.loadPref();
|
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;
|
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
|
//init display
|
||||||
mailHopsDisplay.init( mailHops.options );
|
mailHopsDisplay.init( mailHops.options );
|
||||||
};
|
};
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<em:homepageURL>http://www.mailhops.com</em:homepageURL>
|
<em:homepageURL>http://www.mailhops.com</em:homepageURL>
|
||||||
<em:creator>Andrew Van Tassel</em:creator>
|
<em:creator>Andrew Van Tassel</em:creator>
|
||||||
<em:optionsURL>chrome://mailhops/content/preferences.xul</em:optionsURL>
|
<em:optionsURL>chrome://mailhops/content/preferences.xul</em:optionsURL>
|
||||||
<em:updateURL>https://dl.dropbox.com/u/1533417/mailhops_update.rdf</em:updateURL>
|
<!-- <em:updateURL>https://dl.dropbox.com/u/1533417/mailhops_update.rdf</em:updateURL> -->
|
||||||
|
|
||||||
<!-- Postbox -->
|
<!-- Postbox -->
|
||||||
<em:targetApplication>
|
<em:targetApplication>
|
||||||
|
BIN
mailhops.xpi
BIN
mailhops.xpi
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user