diff --git a/mozilla/zap/client/content/identity.xul b/mozilla/zap/client/content/identity.xul index e458b30c684..762a2fc12d1 100644 --- a/mozilla/zap/client/content/identity.xul +++ b/mozilla/zap/client/content/identity.xul @@ -59,6 +59,7 @@ initIdentityForm(); wIdentity = parent.getIdentity(parent.getSelectedSidebarResource().Value); wIdentity.fillDocument(document); + wIdentity.initXULTemplate(document.getElementById("identity-template-1"), true); } function del() { @@ -95,6 +96,14 @@ wIdentity.fillDocument(document); } + function registerNow() { + parent.registerIdentity(wIdentity); + } + + function unregisterNow() { + parent.unregisterIdentity(wIdentity); + } + ]]> @@ -104,6 +113,73 @@