タブグループの開き方の設定の変化に合わせてチェックボックスの有効無効を切り替える
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4535 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
ad135e33da
commit
8f0ea04980
@ -73,6 +73,12 @@ function onChangeGroupBookmarkRadio()
|
|||||||
{
|
{
|
||||||
gGroupBookmarkTree.value = gGroupBookmarkRadio.value == 'subtree';
|
gGroupBookmarkTree.value = gGroupBookmarkRadio.value == 'subtree';
|
||||||
gGroupBookmarkReplace.value = gGroupBookmarkRadio.value == 'replace';
|
gGroupBookmarkReplace.value = gGroupBookmarkRadio.value == 'replace';
|
||||||
|
|
||||||
|
var underParent = document.getElementById('openGroupBookmarkAsTabSubTree.underParent-check');
|
||||||
|
if (gGroupBookmarkTree.value)
|
||||||
|
underParent.removeAttribute('disabled');
|
||||||
|
else
|
||||||
|
underParent.setAttribute('disabled', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user