タブのドラッグ中はタブのツールチップを常に閉じるようにした
(Tab Mix Plusと併用しているとツールチップ上へのドロップが頻発するようなので、それへの対処) git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@3938 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
94c1e11844
commit
38f565fd37
@ -2112,6 +2112,12 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
|
|
||||||
canDrop : function(aEvent, aDragSession)
|
canDrop : function(aEvent, aDragSession)
|
||||||
{
|
{
|
||||||
|
var tooltip = this.mTabBrowser.mStrip.firstChild;
|
||||||
|
if (tooltip &&
|
||||||
|
tooltip.localName == 'tooltip' &&
|
||||||
|
tooltip.popupBoxObject.popupState != 'closed')
|
||||||
|
tooltip.hidePopup();
|
||||||
|
|
||||||
var dropAction = this.getDropAction(aEvent, aDragSession);
|
var dropAction = this.getDropAction(aEvent, aDragSession);
|
||||||
if ('dataTransfer' in aEvent) {
|
if ('dataTransfer' in aEvent) {
|
||||||
var dt = aEvent.dataTransfer;
|
var dt = aEvent.dataTransfer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user