mar10/jquery-ui-contextmenu

Destroy throws error

Closed this issue · 2 comments

ndvbd commented

When I try to do destroy,

I get: Uncaught Error: cannot call methods on contextmenu prior to initialization; attempted to call method 'destroy'

mar10 commented

destroy() is a standard method of the jQuery UI widget framework. You probably called this in a wrong way (read the docs there).

In order to process your issue, we need some more information, explanation what already was tried and/or concrete data.

A debuggable example (jsFiddle, Plunkr, CodePen, ...) may be helpful.

Please read the Contribution Guidelines for some hints on how to submit helpful feature requests and bug reports.

ndvbd commented

Thank you.