Preference items in "images" is not lockable
r=neil.parkwaycc.co.uk, sr=jag
patch=brian.lu@sun.com
This commit is contained in:
pete.zha%sun.com 2004-09-09 07:11:27 +00:00
Родитель 0dc3e99131
Коммит 7487b4f372
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -73,7 +73,11 @@
// if mailnews is installed then we will have networkImageDisableImagesInMailNews checkbox
var networkImageDisableImagesInMailNews = document.getElementById("networkImageDisableImagesInMailNews");
if (networkImageDisableImagesInMailNews)
networkImageDisableImagesInMailNews.disabled = (imageBehavior.value == 2);
{
var prefString = networkImageDisableImagesInMailNews.getAttribute("prefstring");
networkImageDisableImagesInMailNews.disabled = (imageBehavior.value == 2)
|| parent.hPrefWindow.getPrefIsLocked(prefString);
}
}
]]>