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
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.1.1@43602 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b9492c67c5
commit
29e8cdae7a
@ -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