Follow to changes introduced by the bug 971630 (fix #685)
Changes introduced by this diff break TST. http://hg.mozilla.org/mozilla-central/diff/6aef8ef7d775/browser/base/content/tabbrowser.xml
This commit is contained in:
parent
a92de60fd8
commit
8db6b008ae
@ -512,6 +512,17 @@ var TreeStyleTabWindowHelper = {
|
||||
/\.left/g, '[treeStyleTab.startProp]'
|
||||
).replace(
|
||||
/\.right/g, '[treeStyleTab.endProp]'
|
||||
|
||||
// replace such codes:
|
||||
// tab = {left: tab.left, right: tab.right};
|
||||
).replace(
|
||||
/left\s*:/g, 'start:'
|
||||
).replace(
|
||||
/right\s*:/g, 'end:'
|
||||
).replace(
|
||||
/((tab|selected)\s*=\s*\{\s*start:[^\}]+\})/g,
|
||||
'$1; $2[treeStyleTab.startProp] = $2.start; $2[treeStyleTab.endProp] = $2.end;'
|
||||
|
||||
).replace(
|
||||
'!selected ||',
|
||||
'$& treeStyleTab.scrollToNewTabMode == 1 && '
|
||||
|
Loading…
x
Reference in New Issue
Block a user