syntax error
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4447 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
edfaf69fc8
commit
a38331f342
@ -403,6 +403,8 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function() {
|
||||
|
||||
let listener = {
|
||||
handleEvent : function(aEvent)
|
||||
{
|
||||
switch (aEvent.type)
|
||||
{
|
||||
case 'TreeStyleTabCollapsedStateChange':
|
||||
tabBarScrollStatus();
|
||||
@ -413,6 +415,7 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function() {
|
||||
window.removeEventListener('unload', this, false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
window.addEventListener('TreeStyleTabCollapsedStateChange', listener, false);
|
||||
window.addEventListener('unload', listener, false);
|
||||
@ -520,6 +523,8 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function() {
|
||||
if ('clrtabsInit' in window) {
|
||||
let listener = {
|
||||
handleEvent : function(aEvent)
|
||||
{
|
||||
switch (aEvent.type)
|
||||
{
|
||||
case 'TreeStyleTabAttached':
|
||||
case 'TreeStyleTabParted':
|
||||
@ -543,6 +548,7 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function() {
|
||||
window.removeEventListener('unload', this, false);
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
window.addEventListener('TreeStyleTabAttached', listener, false);
|
||||
window.addEventListener('TreeStyleTabParted', listener, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user