Widgets can now be deleted

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39286 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-07-26 22:43:47 +00:00
parent 94fc673f97
commit 2beda6645a

View File

@ -77,7 +77,7 @@ FieldEditorField.prototype = {
this.toggler.onclick = this.toggle.bind(this); this.toggler.onclick = this.toggle.bind(this);
this.extraOptions = this.getExtraOptions(); this.extraOptions = this.getExtraOptions();
this.visible = false; this.visible = false;
this.deleteButton = this.findDescendant( 'a', 'delete' ); this.deleteButton = this.findDescendant('a', 'delete');
//this.style.height = "auto"; //this.style.height = "auto";