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:
parent
4b4009060f
commit
1819095cfa
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user