mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
BUGFIX Fixed "undefined element" js error in FieldEditor.js
This commit is contained in:
parent
197df65f2b
commit
facc1d865f
@ -63,7 +63,7 @@ FieldEditorField.prototype = {
|
||||
initialize: function() {
|
||||
var fieldInfoDiv = this.findDescendant( 'div', 'FieldInfo' );
|
||||
|
||||
this.titleField = this.findDescendant( 'input', 'text', element );
|
||||
this.titleField = this.findDescendant( 'input', 'text');
|
||||
|
||||
this.titleField.onchange = this.changeTitle.bind(this);
|
||||
this.titleField.onblur = this.changeTitle.bind(this);
|
||||
|
Loading…
Reference in New Issue
Block a user