From 0079554ee206c2a454aa087507102aa52ea8ba71 Mon Sep 17 00:00:00 2001 From: "alex%croczilla.com" Date: Tue, 7 Feb 2006 23:52:11 +0000 Subject: [PATCH] Add registration status and register/unregister buttons to identity form. git-svn-id: svn://10.0.0.236/branches/ZAP_20050610_BRANCH@189373 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/zap/client/content/identity.xul | 76 +++++++++++++++++++++++++ mozilla/zap/client/content/zap.js | 7 +++ 2 files changed, 83 insertions(+) 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 @@