Bug 1091320 - Fix legacy sync password and passphrase operations with incontent prefs. r=adw, a=gavin
--- a/browser/components/preferences/in-content/sync.js
+++ b/browser/components/preferences/in-content/sync.js
@@ -121,19 +121,19 @@ let gSyncPane = {
gSyncPane.openSetup(null);
});
setEventListener("noAccountPair", "click", function (aEvent) {
aEvent.stopPropagation();
gSyncPane.openSetup('pair');
});
setEventListener("syncViewQuota", "command", gSyncPane.openQuotaDialog);
setEventListener("syncChangePassword", "command",
- gSyncUtils.changePassword);
+ () => gSyncUtils.changePassword());
setEventListener("syncResetPassphrase", "command",
- gSyncUtils.resetPassphrase);
+ () => gSyncUtils.resetPassphrase());
setEventListener("syncReset", "command", gSyncPane.resetSync);
setEventListener("syncAddDeviceLabel", "click", function () {
gSyncPane.openAddDevice();
return false;
});
setEventListener("syncEnginesList", "select", function () {
if (this.selectedCount)
this.clearSelection();