mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
partial fix for 29403
This commit is contained in:
parent
5ef834270b
commit
8c0cf89fe9
@ -17,7 +17,8 @@
|
||||
border : 1px solid #FFFFFF;
|
||||
}
|
||||
|
||||
.button-toolbar:hover:active
|
||||
.button-toolbar:hover:active,
|
||||
.button-toolbar[home-dragover="true"]
|
||||
{
|
||||
border : 1px solid #336699;
|
||||
}
|
||||
@ -41,6 +42,12 @@
|
||||
padding : 2px 2px 0px 4px;
|
||||
border : none;
|
||||
}
|
||||
|
||||
.button-toolbar:hover:active[home-dragover="true"] > .button-internal-box
|
||||
{
|
||||
padding : 1px 3px 1px 3px;
|
||||
border : none;
|
||||
}
|
||||
|
||||
.button-toolbar[toggled="true"]
|
||||
{
|
||||
|
@ -106,7 +106,7 @@ var nsDragAndDrop = {
|
||||
{
|
||||
dragSession.canDrop = true;
|
||||
if (aDragDropObserver.onDragOver)
|
||||
aDragDropObserver.onDragOver(flavour);
|
||||
aDragDropObserver.onDragOver(aEvent, flavour);
|
||||
aEvent.preventBubble();
|
||||
break;
|
||||
}
|
||||
@ -141,6 +141,12 @@ var nsDragAndDrop = {
|
||||
}
|
||||
},
|
||||
|
||||
dragExit: function (aEvent, aDragDropObserver)
|
||||
{
|
||||
if (aDragDropObserver.onDragExit)
|
||||
aDragDropObserver.onDragExit(aEvent);
|
||||
},
|
||||
|
||||
/**
|
||||
* nsISupportsArray getDragData (Object aFlavourList)
|
||||
*
|
||||
|
@ -65,7 +65,7 @@ var nsJSComponentManager = {
|
||||
try
|
||||
{
|
||||
var iid = Components.interfaces[aIID];
|
||||
return Components.classes[aID].getService(iid);
|
||||
return Components.classesByID[aID].getService(iid);
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user