mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Ensure behaviour is applied correctly when a field is added to a UserDefinedForm (merged from 2.1.1 branch, r43604)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44198 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
1509d413e5
commit
14b91fe77a
@ -534,8 +534,9 @@ Behaviour.register(
|
||||
$('Fields_fields').appendChild(newField);
|
||||
|
||||
// Behaviour.debug();
|
||||
if( newField ) {
|
||||
if(newField) {
|
||||
Behaviour.apply(newField,true);
|
||||
FieldEditor.applyTo('div.FieldEditor');
|
||||
}
|
||||
|
||||
// do we want to make sorting explicit?
|
||||
|
Loading…
Reference in New Issue
Block a user