Bug #231552 -->dragging addresses to addressing widget causes attachment bucket to pop open

This commit is contained in:
scott%scott-macgregor.org 2004-01-20 04:59:40 +00:00
Родитель 86608afe64
Коммит 9973d63078
1 изменённых файлов: 8 добавлений и 5 удалений

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

@ -2768,12 +2768,15 @@ var envelopeDragObserver = {
onDragOver: function (aEvent, aFlavour, aDragSession)
{
// make sure the attachment box is visible during drag over
var attachmentBox = document.getElementById("attachments-box");
if (attachmentBox.hidden)
if (aFlavour.contentType != "text/x-moz-address")
{
attachmentBox.hidden = false;
document.getElementById("attachmentbucket-sizer").hidden=false;
// make sure the attachment box is visible during drag over
var attachmentBox = document.getElementById("attachments-box");
if (attachmentBox.hidden)
{
attachmentBox.hidden = false;
document.getElementById("attachmentbucket-sizer").hidden=false;
}
}
},