parentsOrSelf is not a valid function

Issue #43 new
Former user created an issue

This line (865):

var container = jQuery(this.wym.selected()).parentsOrSelf(this.blockdefSelector);

Of the file:


give me an error. I so I temporarely replaced the parentsOrSelf function by parents()

Comments (1)

  1. Luke Plant repo owner

    I'm pretty sure this is caused by having multiple copies of jquery loaded, which cause previous jQuery plugins to be lost. I don't think it happens with a default installation of django-cms and semanticeditor, but is caused by other plugins/templates.

    It's a tricky problem, though. I think it is possible to fix it by using an appropriate closure.

  2. Log in to comment