[wp-hackers] Black Magic of the_editor() call

Leonid Mamchenkov leonid at mamchenkov.net
Sun Jun 24 17:18:39 GMT 2007


Hi Peter,

On 6/24/07, Peter Westwood <peter.westwood at ftwr.co.uk> wrote:
> > But something else happens - all other boxes on the page (categories,
> > discussion, post password, trackbacks, custom fields, etc) expand.
> > And now they also miss that +/- thingy which one uses to collapse
> > them.
>
> This is caused by all javascript processing stopping when it reaches
> line 6 in autosave.js:
>
> Error: form.content has no properties
> Source File: /wp-includes/js/autosave.js?ver=20070306
> Line: 6
>
> This means that none of the other javascript gets processed - so the dbx
> boxes don't get there behaviour

Thanks a lot! I would have never found it myself. :)
The moment I added a hidden field, everything started to work again.

-- 
Leonid Mamchenkov
http://wpbits.wordpress.com


More information about the wp-hackers mailing list