Bug 554220: Persona Editor - not closing or applying custom Persona in Firefox 3.6.2 client-1.6 client-release-1.6rc2
authorJose E. Bolanos <jose@appcoast.com>
Wed, 04 Aug 2010 12:36:31 -0600
branchclient-1.6
changeset 1322 ee2c052d13ac0363400b70fdf2bf5306279ee36e
parent 1320 5ab93cae6de901500be9c468660ca193ad1454fc
child 1323 35e213924047ee130a303528b9c21f3a5242f458
push id851
push userjose@glaxstar.com
push dateWed, 04 Aug 2010 18:48:39 +0000
bugs554220
Bug 554220: Persona Editor - not closing or applying custom Persona in Firefox 3.6.2
client/content/customPersonaEditor.js
--- a/client/content/customPersonaEditor.js
+++ b/client/content/customPersonaEditor.js
@@ -148,17 +148,17 @@ let CustomPersonaEditor = {
 
   _restore: function() {
     try {
       this.customPersona = JSON.parse(this._prefs.get("custom"));
       this.customPersona.custom = true;
     }
     catch(ex) {
       this.customPersona = {
-        id: 0,
+        id: "1",
         name: this._strings.get("customPersona"),
         headerURL: NULL_IMAGE,
         footerURL: NULL_IMAGE,
         custom: true };
     }
 
     this._header.value = this.customPersona.headerURL || this.customPersona.header || "";
     this._footer.value = this.customPersona.footerURL || this.customPersona.footer || "";