Bug 343182 - Password Manager asks multiple times to save a password. patch=mwu, r=jst, sr=bzbarsky

git-svn-id: svn://10.0.0.236/trunk@202271 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rob_strong%exchangecode.com
2006-07-18 00:18:32 +00:00
parent 0d9cbd7ca3
commit 20f72aeb5f
6 changed files with 28 additions and 9 deletions

View File

@@ -299,7 +299,7 @@ nsresult nsWalletlibService::Init()
do_GetService("@mozilla.org/observer-service;1", &rv);
if (NS_SUCCEEDED(rv) && svc) {
// Register as an observer of form submission
svc->AddObserver(this, NS_FORMSUBMIT_SUBJECT, PR_TRUE);
svc->AddObserver(this, NS_EARLYFORMSUBMIT_SUBJECT, PR_TRUE);
// Register as an observer of profile changes
svc->AddObserver(this, "profile-before-change", PR_TRUE);
// Register as an observer for login