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