reduce tabbox from the configuration dialog
This commit is contained in:
parent
4eee5243f6
commit
aeae03c58c
@ -161,8 +161,6 @@ function initTabPane()
|
||||
'openGroupBookmark-check',
|
||||
'openGroupBookmark-deck'
|
||||
);
|
||||
|
||||
setUpTabbox('newTab-tabbox');
|
||||
}
|
||||
|
||||
function onSyncGroupBookmarkUIToPref()
|
||||
@ -419,18 +417,3 @@ RadioSet.prototype = {
|
||||
return this.radio.value = aValue;
|
||||
}
|
||||
};
|
||||
|
||||
function setUpTabbox(aID)
|
||||
{
|
||||
var tabbox = document.getElementById(aID);
|
||||
var pref = document.getElementById('extensions.treestyletab.preferences.'+aID+'.selectedIndex')
|
||||
if (pref.value !== null) tabbox.selectedIndex = pref.value;
|
||||
tabbox.setAttribute('onselect', 'onTabboxTabSelected("'+aID+'");');
|
||||
}
|
||||
|
||||
function onTabboxTabSelected(aID)
|
||||
{
|
||||
var tabbox = document.getElementById(aID);
|
||||
var pref = document.getElementById('extensions.treestyletab.preferences.'+aID+'.selectedIndex')
|
||||
pref.valueFromPreferences = tabbox.selectedIndex;
|
||||
}
|
||||
|
@ -277,9 +277,6 @@
|
||||
<preference id="extensions.treestyletab.show.context-item-bookmarkTabSubtree"
|
||||
name="extensions.treestyletab.show.context-item-bookmarkTabSubtree"
|
||||
type="bool"/>
|
||||
<preference id="extensions.treestyletab.preferences.newTab-tabbox.selectedIndex"
|
||||
name="extensions.treestyletab.preferences.newTab-tabbox.selectedIndex"
|
||||
type="int"/>
|
||||
</preferences>
|
||||
|
||||
<vbox>
|
||||
@ -349,16 +346,6 @@
|
||||
type="bool"/>
|
||||
</preferences>
|
||||
|
||||
<vbox>
|
||||
|
||||
<tabbox id="newTab-tabbox"
|
||||
orient="vertical">
|
||||
<tabs>
|
||||
<tab label="&config.tabs.bookmark.tab;"/>
|
||||
<tab label="&config.tabs.dragdrop.tab;"/>
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
<tabpanel orient="vertical">
|
||||
<groupbox>
|
||||
<caption label="&config.openGroupBookmark.caption;"/>
|
||||
<hbox>
|
||||
@ -409,8 +396,6 @@
|
||||
</vbox>
|
||||
</deck>
|
||||
</groupbox>
|
||||
</tabpanel>
|
||||
<tabpanel orient="vertical">
|
||||
<groupbox>
|
||||
<caption label="&config.dropLinksOnTab.caption;"/>
|
||||
<hbox>
|
||||
@ -432,11 +417,6 @@
|
||||
</vbox>
|
||||
</deck>
|
||||
</groupbox>
|
||||
</tabpanel>
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
|
||||
</vbox>
|
||||
|
||||
</prefpane>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user