mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1095017 - pass the element instead of the pane object to gSyncUtils.changeName, r=markh
This commit is contained in:
parent
4e453a3311
commit
073b9fa9a9
@ -154,8 +154,8 @@ let gSyncPane = {
|
||||
if (this.selectedCount)
|
||||
this.clearSelection();
|
||||
});
|
||||
setEventListener("syncComputerName", "change", function () {
|
||||
gSyncUtils.changeName(this);
|
||||
setEventListener("syncComputerName", "change", function (e) {
|
||||
gSyncUtils.changeName(e.target);
|
||||
});
|
||||
setEventListener("unlinkDevice", "click", function () {
|
||||
gSyncPane.startOver(true);
|
||||
@ -203,8 +203,8 @@ let gSyncPane = {
|
||||
setEventListener("rejectUnlinkFxaAccount", "click", function () {
|
||||
gSyncPane.unlinkFirefoxAccount(true);
|
||||
});
|
||||
setEventListener("fxaSyncComputerName", "change", function () {
|
||||
gSyncUtils.changeName(this);
|
||||
setEventListener("fxaSyncComputerName", "change", function (e) {
|
||||
gSyncUtils.changeName(e.target);
|
||||
});
|
||||
setEventListener("tosPP-small-ToS", "click", gSyncPane.openToS);
|
||||
setEventListener("tosPP-small-PP", "click", gSyncPane.openPrivacyPolicy);
|
||||
|
Loading…
Reference in New Issue
Block a user