タブグループの開き方の設定の変化に合わせてチェックボックスの有効無効を切り替える

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4535 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-06-18 08:57:54 +00:00
parent ad135e33da
commit 8f0ea04980

View File

@ -73,6 +73,12 @@ function onChangeGroupBookmarkRadio()
{
gGroupBookmarkTree.value = gGroupBookmarkRadio.value == 'subtree';
gGroupBookmarkReplace.value = gGroupBookmarkRadio.value == 'replace';
var underParent = document.getElementById('openGroupBookmarkAsTabSubTree.underParent-check');
if (gGroupBookmarkTree.value)
underParent.removeAttribute('disabled');
else
underParent.setAttribute('disabled', true);
}