WordPress.org

Ready to get started?Download WordPress

Forums

Easy Recipe
[resolved] QTags is not defined adding post to Soliloquy Slider (2 posts)

  1. matthewhale
    Member
    Posted 6 months ago #

    It appears when I'm trying to add a Soliloquy Slider for a post I get an "Uncaught ReferenceError: QTags is not defined" javascript error coming from easyrecipe-entry.js?ver=3.2.1275. I have a feeling this is because your javascript isn't checking for the existence of QTags(which in this case when adding a Soliloquy Slider post, it does not exist so your buttons do not need to be loaded).

    Simple fix I did for now, Encapsulated your script in easyrecipe-entry.js with:
    if ( typeof QTags != 'undefined' ) {
    YOUR CODE
    }

    So when QTags are not defined, it doesn't load your code. This might also help out compatibility with other plugins. There is probably a better way of going about this, but thats all I've came up with for a fix :)

    http://wordpress.org/plugins/easyrecipe/

  2. Jayce53
    Member
    Plugin Author

    Posted 6 months ago #

    Thanks for pointing that out. It will be fixed in the next release.

Reply

You must log in to post.

About this Plugin

About this Topic