WordPress.org

Support

Support » Plugins and Hacks » EasyRecipe » [Resolved] QTags is not defined adding post to Soliloquy Slider

[Resolved] QTags is not defined adding post to Soliloquy Slider

  • 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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] QTags is not defined adding post to Soliloquy Slider’ is closed to new replies.
Skip to toolbar