BUGFIX #3560 ajshort: Hide the SiteTree access group selector when choosing "Inherit from parent page".

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79366 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2009-06-16 22:23:29 +00:00
parent 02d9dd60e7
commit 3f9fd08ceb

View File

@ -29,17 +29,18 @@ Behaviour.register({
}
}
},
'#Form_EditForm_CanViewType_Anyone': {
onclick: ViewersGroupHide
},
'#Form_EditForm_CanViewType_LoggedInUsers': {
onclick: ViewersGroupHide
},
'#Form_EditForm_CanViewType_Inherit': {
onclick: ViewersGroupHide
},
'#Form_EditForm_CanEditType_OnlyTheseUsers': {
onclick: function() {
$('EditorGroups').style.display = "block";
},
@ -53,8 +54,10 @@ Behaviour.register({
}
}
},
'#Form_EditForm_CanEditType_LoggedInUsers': {
onclick: EditorsGroupHide
},
'#Form_EditForm_CanEditType_Inherit': {
onclick: EditorsGroupHide
}
});