Ticket #3519 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Scritaculous fails to load its pieces in some odd circumstances

Reported by: mdawaffe Assigned to: anonymous
Priority: low Milestone: 2.1.1
Component: Administration Version: 2.1
Severity: normal Keywords: has-patch 2nd-opinion
Cc:

Description

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?

Attachments

3519.diff (5.2 kB) - added by mdawaffe on 01/03/07 19:41:49.

Change History

01/03/07 19:41:49 changed by mdawaffe

  • attachment 3519.diff added.

01/08/07 03:03:37 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [4701]) Scriptaculous loader changes from mdawaffe. fixes #3519

01/26/07 02:48:55 changed by mdawaffe

  • status changed from closed to reopened.
  • resolution deleted.
  • milestone changed from 2.1 to 2.1.1.

wp-scriptaculous.js never added. Reopening.

01/26/07 02:53:42 changed by mdawaffe

fix on #3645

01/26/07 03:41:26 changed by ryan

  • status changed from reopened to closed.
  • resolution set to fixed.

(In [4813]) Update to prototype 1.5.0 and scriptaculous 1.7.0. Fix some AJAXy bits. Props mdawaffe. fixes #3645 #3676 #3519

01/28/07 20:35:23 changed by ryan

(In [4823]) Add wp-scriptaculous.js. fixes #3703 #3519