Bug 754342 - Sync pane shows "undefined" as username when using in-content preferences. r=jaws

--HG--
extra : rebase_source : 77c49df413cf04aed1ff9b6eeeacf7d2e12df204
This commit is contained in:
Matthew Noorenberghe 2012-05-16 15:56:17 -07:00
parent e994a7881c
commit 1756926dc5

View File

@ -65,7 +65,7 @@ let gSyncPane = {
this.needsUpdate();
} else {
this.page = PAGE_HAS_ACCOUNT;
document.getElementById("accountName").value = Weave.Service.account;
document.getElementById("accountName").value = Weave.Identity.account;
document.getElementById("syncComputerName").value = Weave.Clients.localName;
document.getElementById("tosPP").hidden = this._usingCustomServer;
}