зеркало из https://github.com/mozilla/pjs.git
Bug #231552 -->dragging addresses to addressing widget causes attachment bucket to pop open
This commit is contained in:
Родитель
86608afe64
Коммит
9973d63078
|
@ -2767,6 +2767,8 @@ var envelopeDragObserver = {
|
||||||
},
|
},
|
||||||
|
|
||||||
onDragOver: function (aEvent, aFlavour, aDragSession)
|
onDragOver: function (aEvent, aFlavour, aDragSession)
|
||||||
|
{
|
||||||
|
if (aFlavour.contentType != "text/x-moz-address")
|
||||||
{
|
{
|
||||||
// make sure the attachment box is visible during drag over
|
// make sure the attachment box is visible during drag over
|
||||||
var attachmentBox = document.getElementById("attachments-box");
|
var attachmentBox = document.getElementById("attachments-box");
|
||||||
|
@ -2775,6 +2777,7 @@ var envelopeDragObserver = {
|
||||||
attachmentBox.hidden = false;
|
attachmentBox.hidden = false;
|
||||||
document.getElementById("attachmentbucket-sizer").hidden=false;
|
document.getElementById("attachmentbucket-sizer").hidden=false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onDragExit: function (aEvent, aDragSession)
|
onDragExit: function (aEvent, aDragSession)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче