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

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

View File

@ -293,11 +293,11 @@ function OnLoadEditCard()
{
// Set all the editable vcard fields to read only
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
document.getElementById(kPhoneticFields[0]).readonly = true;
document.getElementById(kPhoneticFields[3]).readonly = true;
document.getElementById(kPhoneticFields[0]).readOnly = true;
document.getElementById(kPhoneticFields[3]).readOnly = true;
// Also disable the mail format popup.
document.getElementById("PreferMailFormatPopup").disabled = true;