QuickDrag ( https://addons.mozilla.org/firefox/addon/6912 ) と連係して動作するようにした

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@3810 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-03-16 12:21:57 +00:00
parent 16c67d10c4
commit 1e09af0ff4

View File

@ -787,4 +787,14 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function() {
});
}
// QuickDrag
if ('QuickDrag' in window && 'dragdrop' in QuickDrag) {
eval('QuickDrag.dragdrop = '+
QuickDrag.dragdrop.toSource().replace(
/(gBrowser.loadOneTab\()/g,
'TreeStyleTabService.readyToOpenChildTab(); $1'
)
);
}
};