Bug 361223 Read-only fields on ldap cards are no longer readonly (Thunderbird patch) r/sr=mscott

This commit is contained in:
bugzilla%standard8.demon.co.uk 2006-11-20 18:58:53 +00:00
parent c43141d768
commit 9599bdd9c0

View File

@ -295,11 +295,11 @@ function OnLoadEditCard()
{ {
// Set all the editable vcard fields to read only // Set all the editable vcard fields to read only
for (var i = kVcardFields.length; i-- > 0; ) for (var i = kVcardFields.length; i-- > 0; )
document.getElementById(kVcardFields[i][0]).readonly = true; document.getElementById(kVcardFields[i][0]).readOnly = true;
// And the phonetic fields // And the phonetic fields
document.getElementById(kPhoneticFields[0]).readonly = true; document.getElementById(kPhoneticFields[0]).readOnly = true;
document.getElementById(kPhoneticFields[3]).readonly = true; document.getElementById(kPhoneticFields[3]).readOnly = true;
// Also disable the mail format popup. // Also disable the mail format popup.
document.getElementById("PreferMailFormatPopup").disabled = true; document.getElementById("PreferMailFormatPopup").disabled = true;