LinuxでタブのCtrl-ドロップが正しく機能しなくなっていた

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6578 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-04-07 02:06:32 +00:00
parent ba02bdb265
commit fcd691abc9

View File

@ -2928,7 +2928,8 @@ TreeStyleTabBrowser.prototype = {
info.canDrop = true; info.canDrop = true;
info.source = tab; info.source = tab;
if (tab) { if (tab) {
var isCopy = this.isAccelKeyPressed(aEvent); var isCopy = this.isAccelKeyPressed(aEvent) ||
(aEvent.dataTransfer && aEvent.dataTransfer.dropEffect == 'copy');
if (isCopy && 'duplicateTab' in this.mTabBrowser) { if (isCopy && 'duplicateTab' in this.mTabBrowser) {
info.action |= this.kACTION_DUPLICATE; info.action |= this.kACTION_DUPLICATE;
} }