[wp-trac] [WordPress Trac] #3519: Scritaculous fails to load its
pieces in some odd circumstances
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 3 19:41:10 GMT 2007
#3519: Scritaculous fails to load its pieces in some odd circumstances
----------------------------+-----------------------------------------------
Reporter: mdawaffe | Owner: anonymous
Type: defect | Status: new
Priority: low | Milestone: 2.1
Component: Administration | Version: 2.1
Severity: normal | Keywords: has-patch 2nd-opinion
----------------------------+-----------------------------------------------
Scriptaculous's clever JS script loader uses document.write in the head.
This breaks sometimes (i.e. nothing is written to the head and
scriptaculous' subscripts are not loaded). I do not know why this
happens, but I think it has something to do with TinyMCE.
The attached uses WP's script loader instead of scriptaculous'. It also
allows you to define a group of scripts by setting that item's src to
{{{''}}} in the script loader (see, for example, the definition of
{{{scriptaculous}}}).
2.1?
--
Ticket URL: <http://trac.wordpress.org/ticket/3519>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list