diff --git a/content/treestyletab/config.js b/content/treestyletab/config.js index ce21569c..08b78bc6 100644 --- a/content/treestyletab/config.js +++ b/content/treestyletab/config.js @@ -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; -} diff --git a/content/treestyletab/config.xul b/content/treestyletab/config.xul index 755e2d6e..16a2199f 100644 --- a/content/treestyletab/config.xul +++ b/content/treestyletab/config.xul @@ -277,9 +277,6 @@ - @@ -349,94 +346,77 @@ type="bool"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +