partial fix for 29403

This commit is contained in:
ben%netscape.com 2000-06-01 03:56:00 +00:00
parent 5ef834270b
commit 8c0cf89fe9
3 changed files with 16 additions and 3 deletions

View File

@ -17,7 +17,8 @@
border : 1px solid #FFFFFF; border : 1px solid #FFFFFF;
} }
.button-toolbar:hover:active .button-toolbar:hover:active,
.button-toolbar[home-dragover="true"]
{ {
border : 1px solid #336699; border : 1px solid #336699;
} }
@ -41,6 +42,12 @@
padding : 2px 2px 0px 4px; padding : 2px 2px 0px 4px;
border : none; border : none;
} }
.button-toolbar:hover:active[home-dragover="true"] > .button-internal-box
{
padding : 1px 3px 1px 3px;
border : none;
}
.button-toolbar[toggled="true"] .button-toolbar[toggled="true"]
{ {

View File

@ -106,7 +106,7 @@ var nsDragAndDrop = {
{ {
dragSession.canDrop = true; dragSession.canDrop = true;
if (aDragDropObserver.onDragOver) if (aDragDropObserver.onDragOver)
aDragDropObserver.onDragOver(flavour); aDragDropObserver.onDragOver(aEvent, flavour);
aEvent.preventBubble(); aEvent.preventBubble();
break; break;
} }
@ -141,6 +141,12 @@ var nsDragAndDrop = {
} }
}, },
dragExit: function (aEvent, aDragDropObserver)
{
if (aDragDropObserver.onDragExit)
aDragDropObserver.onDragExit(aEvent);
},
/** /**
* nsISupportsArray getDragData (Object aFlavourList) * nsISupportsArray getDragData (Object aFlavourList)
* *

View File

@ -65,7 +65,7 @@ var nsJSComponentManager = {
try try
{ {
var iid = Components.interfaces[aIID]; var iid = Components.interfaces[aIID];
return Components.classes[aID].getService(iid); return Components.classesByID[aID].getService(iid);
} }
catch(e) catch(e)
{ {