Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Duarte Carreira 47 posts 66 karma points
    Apr 25, 2011 @ 14:34
    Duarte Carreira
    0

    jquery, $ and mootools conflicts

    When using canvas editing jquery gets hold of $ and ruins mootools code in page.

    I can see jquery.noconflict-invoke.js loaded. But still $ is jquery's and not mootools'.

    Outside a canvas session, the page works fine, and there are no conflicts.

    Thanks,

    Duarte

     

  • Sebastiaan Janssen 5045 posts 15476 karma points MVP admin hq
    Apr 26, 2011 @ 08:29
    Sebastiaan Janssen
    0

    It looks like something in canvas is using the $ function instead of jQuery(). According to this StackOverflow post you can do conflict resolution from MooTools in a similar way that you can for jQuery.

  • Duarte Carreira 47 posts 66 karma points
    Apr 26, 2011 @ 14:18
    Duarte Carreira
    0

    Sebaastian,

    After scouring the net, it seems *unbelievably* mootools 1.3 implements a new Type variable too, so gets in the way of MS Ajax stuff big time! This is really something that would be easilly avoided by the mootools crew, but this is how it is. For someone interested: https://mootools.lighthouseapp.com/projects/2706/tickets/1045-asp-net-bug

    .

    I have to check if this happens with 1.2.4, and if my code runs on that...

    Duarte

     

  • Duarte Carreira 47 posts 66 karma points
    Apr 26, 2011 @ 18:01
    Duarte Carreira
    0

    So to close this thread. Mootools 1.2.x does work. It is 1.3.x that introduced a new Type variable.

    Duarte

Please Sign in or register to post replies

Write your reply to:

Draft