Fix bug 307056 Read-only address book cards should have just a ok button that doesn't try to update the card (thunderbird version) r/sr=bienvenu

git-svn-id: svn://10.0.0.236/trunk@180490 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bugzilla%standard8.demon.co.uk 2005-09-18 11:04:30 +00:00
parent 4b4009060f
commit 1819095cfa

View File

@ -239,6 +239,9 @@ function OnLoadEditCard()
var disableElements = document.getElementsByAttribute("disableforreadonly", "true");
for (var i=0; i<disableElements.length; i++)
disableElements[i].setAttribute('disabled', 'true');
document.documentElement.buttons = "accept";
document.documentElement.removeAttribute("ondialogaccept");
}
}
}