Support » Plugin: Bug Library » ‘Report new issue’ button unresponsive, doesn’t launch modal box for user input

  • Resolved techtastic

    (@techtastic)


    The ‘Report new issue’ button on the front end doesn’t work at all – I click it and nothing happens.

    The Chrome developer tools shows this error in the Console panel:

    Uncaught TypeError: jQuery(…).colorbox is not a function
    at HTMLDocument.<anonymous> ((index):385)
    at i (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at Function.ready (jquery.js:2)
    at HTMLDocument.K (jquery.js:2)

    I don’t know much about code, especially jQuery. Any ideas please?

    I’m using X theme and various plugins on a site that is not yet live.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    Is this on a live site? This error usually shows up when plugins or themes don’t load jQuery the right way in WordPress. If you are able to, I would first suggest deactivating all plugins except Bug Library and seeing if the issue still occurs.

    If this is on a live site, I can take a look at the page source code and see if there is more than one copy of jQuery loaded and see if I can identify the culprit.

    Hi Yannick, thanks for your prompt reply. No, the site is not live yet.
    I’ve isolated the source of the conflict – the Cornerstone page builder that comes with X Theme. I forgot and didn’t think of this before, but I was trying to run the [bug-library] shortcode from within a Cornerstone ‘Text’ element in a page I was designing with Cornerstone.
    As it turns out, the button works fine if I use the ‘Classic Text’ element which is good enough for me, or if I forgo Cornerstone and use a standard WordPress page (which would be a little bit of a shame but I could live with it).
    So really, issue resolved as I have workable options. Sorry to trouble you!
    Since I have your attention though, may a suggest a small feature? It’d be great if the ‘product’ and type fields didn’t default to anything, so that the user must always make a positive selection.
    Great plugin, thank you, and keep up the good work!

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Version 1.5 of Bug Library adds new options under General Options called:

    – ‘Add empty option to product list’
    – ‘Add empty option to issue list’

    The plugin now also check that these fields have been properly filled in.

    Please let me know if this addresses the issue and consider donating to support this plugin’s development.

    Great! That works exactly as expected, thank you.

    I’m happy to donate now that I am actively using this plugin — it’s a great plugin and I appreciate your support too. As I’m only using this for a hobby project at the moment I’ve made a donation from my personal PayPal account. But I can see this might be useful for some work projects in future too, and I may make more donations in future as that seems fair.

    Thank you, and keep up the good work on this worthy project!

    There’s only one tiny further improvement I can think of for this feature – but I don’t know if it is more of a hassle to code than it is worth:

    When you make your selections but miss a compulsory field, the form clears all the selections. It’d be the icing on the cake if it kept the selections the user already made.

    But this is nit-picking for a small ‘nice to have’ in the user experience — if I were you I wouldn’t bother to code this if it isn’t easy.

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Corrected in 1.5.1.

    You sir, are a gentleman and a scholar! 😀 Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘‘Report new issue’ button unresponsive, doesn’t launch modal box for user input’ is closed to new replies.