Sorry to see your post so late, I would have saved you some time.. :( What I do is not to change the magnolia redefinition of $ (since it is the base platform) but to change the implementation of the other scripts. For example, I use jQuery. What I do is to replace the $ with jQuery. Then everything works just fine...
Regards, Vasko On Wed, Dec 17, 2008 at 6:45 PM, Matteo Pelucco <[email protected]> wrote: > > !!! Unbelievable !!! > The problem is caused by... the REDEFINITION of function $ > > see: admin-js/generic.js > > if (typeof $ != 'function') { > function $(element) > { > return document.getElementById(element); > } > } > > If this script run after an external JS framework, define $ as a simple > document.getElementById. > > Removed that script, everything works fine! > Is it a bug? A Magnolia limitation? > > Anyway, this is the issue... > > No idea how to solve without hacking the > magnolia-module-admininterface-3.6.3.jar > > Matteo > > > > > > Matteo Pelucco ha scritto: >> >> Matteo Pelucco ha scritto: >>> >>> Hi all! >>> I'm going to integrate MooTools Javascript Framework >>> (http://mootools.net) on my pages. >>> >>> First integration thing, first trouble. >> >> >> The problem is there even with jQuery. >> >> Look at this example: >> >> *** >> >> http://tinyurl.com/5td6km >> >> *** >> >> A simple alert (); binded to MooTools and jQuery dodready events. >> Magnolia bars enabled and turned off. >> >> In Firefox 3 everything is fine, not in IE. >> >> M. >> >> >> ---------------------------------------------------------------- >> For list details see >> http://www.magnolia-cms.com/home/community/mailing-lists.html >> To unsubscribe, E-mail to: <[email protected]> >> ---------------------------------------------------------------- >> >> > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
