Ticket #185 (reopened defect)

Opened 3 years ago

Last modified 18 months ago

jQuery.wymeditor.js : line 1557 - Incompatibility with jQuery 1.3.x

Reported by: stephband Owned by: jf.hovinne
Priority: major Milestone: 0.5
Component: editor Version: trunk
Keywords: Cc:


jQuery.wymeditor.js : line 1557

jQuery.isFunction() no longer works as expected in Internet Explorer due to changes in jQuery-1.3.x. wym._options.postInitDialog is not reported as a function, but as an object, so isFunction returns false and wym._options.postInitDialog is not called.

replacing the line with:


makes it work again.

Change History

comment:1 Changed 2 years ago by mr_lundis

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

This should not be an issue as long as you don't use a native function as callback. If you for some reason need to use a native function as callback, wrap it in a anonymous function and everything will be fine.

If this is not the case, feel free to reopen the ticket.

comment:2 Changed 18 months ago by cbosco

  • Status changed from closed to reopened
  • Resolution wontfix deleted

I think this should still be changed. The problem is a cross-window problem, not a native function problem.



I like the first proposed workaround, e.g.

if(wym._options.postInitDialog && wym._options.postInitDialog.call) { ... }


Note: See TracTickets for help on using tickets.