mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
http://helpdesk.silverstripe.com/tickets/904 - Fixed oriwave-specific code in subsites module
This commit is contained in:
parent
42f55daeef
commit
93ee453b66
@ -81,7 +81,7 @@ class SiteTreeSubsites extends DataObjectDecorator {
|
||||
foreach(self::$template_fields as $field) {
|
||||
if(isset($changed[$field]) && $changed[$field]) {
|
||||
$this->owner->CustomContent = true;
|
||||
FormResponse::add("$('Form_EditForm_CustomContent').checked = true;");
|
||||
FormResponse::add("if($('Form_EditForm_CustomContent')) $('Form_EditForm_CustomContent').checked = true;");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user