Since i’ve fixed some bugs and issues on the files to switch core MooTools v1.11 to v1.2.x and following the release of version 1.2.2 1.2.3 of MooTools Core and More, i’m posting here an updated version of this workaround to which you could refer for details on how this code works.
Changes in this new version are:
- Updated MooTools Core to 1.2.2 1.2.3 and MooTools More to 1.2.2.2 1.2.3.1
- Added
.getValue()to the compatibility file - Added
.getSelected()to the compatibility file to fix some issues under IE - Added
Jsonsupport to the compatibility file - Added
window.onDomReadyshortcut for DOM ready event - Changed
MY_Behavior::mootoolsFix();to handle new MooTools files - Changed
MY_Behavior::mootoolsFix();to correctly render old tooltips formattitle::textfor items withhasTipclass (anyway, remember that classes to style the tooltip have changed!) - Added a validate.js replacement to fix an issue with changed namespaces. ( this replacement is no more needed)
The source code is released in the form of patch: unzip it and upload files in your Joomla root, eventually overwriting files. MooTools library is uncompressed to allow for a quicker debug. Anyway you may minify it with your tool of choice.
Here is the code: Mootools 1.11 to 1.2.2 (71.68 kB)
Update (again): Sometimes i can’t get if MooTools team is too vital or library milestones are not well defined… anyway here is an update to use latest MooTools 1.2.3. No major changes have been made to the fix library, anyway keep reporting compatibility issues. Here is the zipped file: Mootools 1.11 to 1.2.3 for Joomla 1.5 (72.06 kB)
Update (09/20/09): New version available. Corrected some bugs in the compatibility file and added a loop check to replace MooTools 1.11 when called from a component as custom script. Now the validation core script doesn’t need to be replaced. Get source here (carries the original validate.js as in Joomla 1.5.14: MooTools 1.11 to 1.2.x (72.88 kB)

[...] Update: A new version of files presented in this post is available here! [...]