cosmetic
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6458 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
8530305660
commit
f8d2ac92fc
@ -177,6 +177,11 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
b.mTabContainer.addEventListener('TabMove', this, true);
|
b.mTabContainer.addEventListener('TabMove', this, true);
|
||||||
b.mTabContainer.addEventListener('SSTabRestoring', this, true);
|
b.mTabContainer.addEventListener('SSTabRestoring', this, true);
|
||||||
b.mTabContainer.addEventListener('SSTabRestored', this, true);
|
b.mTabContainer.addEventListener('SSTabRestored', this, true);
|
||||||
|
b.mTabContainer.addEventListener('mouseover', this, true);
|
||||||
|
b.mTabContainer.addEventListener('mouseout', this, true);
|
||||||
|
b.mTabContainer.addEventListener('dblclick', this, true);
|
||||||
|
b.mTabContainer.addEventListener('select', this, true);
|
||||||
|
b.mTabContainer.addEventListener('scroll', this, true);
|
||||||
strip.addEventListener('draggesture', this, false);
|
strip.addEventListener('draggesture', this, false);
|
||||||
strip.addEventListener('dragenter', this, false);
|
strip.addEventListener('dragenter', this, false);
|
||||||
strip.addEventListener('dragexit', this, false);
|
strip.addEventListener('dragexit', this, false);
|
||||||
@ -186,11 +191,6 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
strip.addEventListener('mousedown', this, true);
|
strip.addEventListener('mousedown', this, true);
|
||||||
strip.addEventListener('mouseup', this, false);
|
strip.addEventListener('mouseup', this, false);
|
||||||
strip.addEventListener('click', this, false);
|
strip.addEventListener('click', this, false);
|
||||||
b.mTabContainer.addEventListener('mouseover', this, true);
|
|
||||||
b.mTabContainer.addEventListener('mouseout', this, true);
|
|
||||||
b.mTabContainer.addEventListener('dblclick', this, true);
|
|
||||||
b.mTabContainer.addEventListener('select', this, true);
|
|
||||||
b.mTabContainer.addEventListener('scroll', this, true);
|
|
||||||
b.mPanelContainer.addEventListener('dragexit', this, false);
|
b.mPanelContainer.addEventListener('dragexit', this, false);
|
||||||
b.mPanelContainer.addEventListener('dragover', this, false);
|
b.mPanelContainer.addEventListener('dragover', this, false);
|
||||||
b.mPanelContainer.addEventListener('dragdrop', this, false);
|
b.mPanelContainer.addEventListener('dragdrop', this, false);
|
||||||
@ -201,6 +201,7 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
b.addEventListener('MultipleTabHandlerTabsClosing', this, false);
|
b.addEventListener('MultipleTabHandlerTabsClosing', this, false);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Closing collapsed last tree breaks selected tab.
|
/* Closing collapsed last tree breaks selected tab.
|
||||||
To solve this problem, I override the setter to
|
To solve this problem, I override the setter to
|
||||||
force to set a tab and forbid it becomes null. */
|
force to set a tab and forbid it becomes null. */
|
||||||
@ -1259,6 +1260,11 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
b.mTabContainer.removeEventListener('TabMove', this, true);
|
b.mTabContainer.removeEventListener('TabMove', this, true);
|
||||||
b.mTabContainer.removeEventListener('SSTabRestoring', this, true);
|
b.mTabContainer.removeEventListener('SSTabRestoring', this, true);
|
||||||
b.mTabContainer.removeEventListener('SSTabRestored', this, true);
|
b.mTabContainer.removeEventListener('SSTabRestored', this, true);
|
||||||
|
b.mTabContainer.removeEventListener('mouseover', this, true);
|
||||||
|
b.mTabContainer.removeEventListener('mouseout', this, true);
|
||||||
|
b.mTabContainer.removeEventListener('dblclick', this, true);
|
||||||
|
b.mTabContainer.removeEventListener('select', this, true);
|
||||||
|
b.mTabContainer.removeEventListener('scroll', this, true);
|
||||||
strip.removeEventListener('draggesture', this, false);
|
strip.removeEventListener('draggesture', this, false);
|
||||||
strip.removeEventListener('dragenter', this, false);
|
strip.removeEventListener('dragenter', this, false);
|
||||||
strip.removeEventListener('dragexit', this, false);
|
strip.removeEventListener('dragexit', this, false);
|
||||||
@ -1268,11 +1274,6 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
strip.removeEventListener('mousedown', this, true);
|
strip.removeEventListener('mousedown', this, true);
|
||||||
strip.removeEventListener('mouseup', this, false);
|
strip.removeEventListener('mouseup', this, false);
|
||||||
strip.removeEventListener('click', this, false);
|
strip.removeEventListener('click', this, false);
|
||||||
b.mTabContainer.removeEventListener('mouseover', this, true);
|
|
||||||
b.mTabContainer.removeEventListener('mouseout', this, true);
|
|
||||||
b.mTabContainer.removeEventListener('dblclick', this, true);
|
|
||||||
b.mTabContainer.removeEventListener('select', this, true);
|
|
||||||
b.mTabContainer.removeEventListener('scroll', this, true);
|
|
||||||
b.mPanelContainer.removeEventListener('dragexit', this, false);
|
b.mPanelContainer.removeEventListener('dragexit', this, false);
|
||||||
b.mPanelContainer.removeEventListener('dragover', this, false);
|
b.mPanelContainer.removeEventListener('dragover', this, false);
|
||||||
b.mPanelContainer.removeEventListener('dragdrop', this, false);
|
b.mPanelContainer.removeEventListener('dragdrop', this, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user