Ticket #162 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

jQuery.noConflict() and plugin resizable

Reported by: klgMEDIA Owned by: jf.hovinne
Priority: minor Milestone: 0.5
Component: editor Version: trunk
Keywords: plugin resizable Cc:


When using Prototype and wymeditor on the same page jQuery.noConflict() have to be used.

But this breaks the resizable plugin.

to fix this the first $ can be changed to jQuery on line 92 and 98 in:


That is: (result)

    // First get the jQuery UI base file
    jQuery.getScript(jQueryPlugins[0]);                  // Line 92

    // Get the jQuery UI resizeable plugin and then init the wymeditor resize
    // plugin. It is import to do the initialisation after loading the    
    // necessary jQuery UI files has finished, otherwise the "resizable" method
    // would not be available.
    jQuery.getScript(jQueryPlugins[1], function() {      // Line 98

Tested successfully with and without "noConflict()" in MSIE6-7 and FireFox 3.0.7

Change History

comment:1 Changed 3 years ago by mr_lundis

  • Status changed from new to closed
  • Resolution set to fixed

Fixed by r584.

Note: See TracTickets for help on using tickets.