Login!
Lost password?
 
Please report all QE issues here

FS#989 — QuickEdit / Mootools javascript error in Firefox 2.0+

Attached to Project — QuickEdit
Opened by Mark Croxton (therebechips) - Thursday, 20 December 2007, 06:05AM
Last edited by Jeff Whitfield (Bravado) - Sunday, 28 September 2008, 12:42PM
Task Type Bug Report
Category Backend / Core
Status Confirmed
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version 0.9.6.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%

Details

The following error is generated when editing content in the front end with QuickEdit:

Error: el.removeEvents is not a function
Source File: http://demo.opensourcecms.com/modx/manager/media/script/mootools/mootools.js
Line: 2
This task depends upon

This task blocks these from closing
Comment by Enrique Erne (eerne) - Sunday, 20 January 2008, 06:35AM
i got rid of the "Error: el.removeEvents is not a function" by including mootools.js only once.
therefore i commented output.class.inc.php line 230 since i already included mootools.js on my site.

Comment by Jeff (jfg) - Sunday, 02 March 2008, 05:26AM
I had the same problem under debian testing and iceweasel 2.0.0.12.
I followed Enrique instructions, now it's fixed for me too.

Thanks

Comment by Jeff Whitfield (Bravado) - Sunday, 28 September 2008, 12:46PM
I'm not entirely familiar with the QuickEdit code so whoever ends up updating and/or rewriting QuickEdit should keep this in mind. Might be good to either have a way to detect that MooTools is already included or offer an option to disable the inclusion of MooTools.

One other idea is to have a way to include a global script library to be included on every page. That way if a user includes MooTools then plugins like QuickEdit can take advantage of this configuration option and use MooTools compatible scripts. Same could apply to jQuery and the like. :)