mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
FIX: Prevent change tracking when picking a different blog post type
This commit is contained in:
parent
43ae8bf19c
commit
b70c1cc749
@ -57,7 +57,7 @@ class GridFieldBlogPostAddNewButton extends GridFieldAddNewButton
|
||||
$singleton->defaultChild()
|
||||
);
|
||||
$pageTypes->setFieldHolderTemplate("BlogDropdownField_holder")
|
||||
->addExtraClass("gridfield-dropdown");
|
||||
->addExtraClass("gridfield-dropdown no-change-track");
|
||||
|
||||
$forTemplate = new ArrayData(array());
|
||||
$forTemplate->Fields = new ArrayList();
|
||||
@ -123,4 +123,4 @@ class GridFieldBlogPostAddNewButton extends GridFieldAddNewButton
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user