Ticket #6109: patchfile.patch
| File patchfile.patch, 480 bytes (added by , 15 years ago) |
|---|
| Line | |
|---|---|
| 1 | 19c19 |
| 2 | < this.getContentElement( 'general', 'content' ).getInputElement().setValue( '' ); |
| 3 | --- |
| 4 | > this.setupContent( { text : '' } ); |
| 5 | 24,26c24,28 |
| 6 | < // Get the textarea value. |
| 7 | < var text = this.getContentElement( 'general', 'content' ).getInputElement().getValue(), |
| 8 | < editor = this.getParentEditor(); |
| 9 | --- |
| 10 | > var data = {}; |
| 11 | > this.commitContent( data ); |
| 12 | > // Insert the text. |
| 13 | > var text = data.text; |
| 14 | > editor = this.getParentEditor(); |
