mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-01 08:09:26 +00:00
Fix buttons on about:support when not building updater.
This commit is contained in:
@@ -643,10 +643,12 @@ function safeModeRestart() {
|
||||
* Set up event listeners for buttons.
|
||||
*/
|
||||
function setupEventListeners(){
|
||||
#ifdef MOZ_UPDATER
|
||||
$("show-update-history-button").addEventListener("click", function (event) {
|
||||
var prompter = Cc["@mozilla.org/updates/update-prompt;1"].createInstance(Ci.nsIUpdatePrompt);
|
||||
prompter.showUpdateHistory(window);
|
||||
});
|
||||
#endif
|
||||
$("reset-box-button").addEventListener("click", function (event){
|
||||
ResetProfile.openConfirmationDialog(window);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user