syntax error

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4721 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-07-15 18:03:35 +00:00
parent 28f0028d72
commit f0fc35b540

View File

@ -478,8 +478,15 @@ TreeStyleTabBrowser.prototype = {
if ('_onDragEnd' in b) {
eval('b._onDragEnd = '+b._onDragEnd.toSource().replace(
/(this\._?replaceTabWithWindow\()',
/(this\._?replaceTabWithWindow\()/,
'if (this.treeStyleTab.isDraggingAllTabs(draggedTab)) return; $1'
).replace(
'{',
'{ var treeStyleTab = this.treeStyleTab;'
).replace(
/\.screenX/g, '[treeStyleTab.invertedPositionProp]'
).replace(
/\.width/g, '[treeStyleTab.invertedSizeProp]'
));
}