Okay
  Public Ticket #245444
Another JS admin conflict - WooCommerce Product Bundles
Closed

Comments

  • Jason started the conversation

    Hi - me again I think the other thread reporting the javascript conflicts in the admin may have gotten buried -- but I've got another example now:

    With Salient on:

    http://cl.ly/image/3j2Y0I3V3f1F

    This running the latest version of WooCommerce and the Product Bundle Extension from the WooCommerce Store.

    Here is what it looks like with the TwentyFourteen them enabled:

    http://cl.ly/image/2g2h3k2S1G2H

    In this install, there are no other plugins other than WooCommerce, and the WooCommerce extensions.

    Would it not be possible to add a check in the code that outputs JS so that when in the admin, it only loads on the theme options page? 

    In otherwords - only allow javascript files to be loaded here:

    wp-admin/admin.php?page=redux_options&tab=0

    As far as I can tell - the only way this can be happening is if the theme is loading additional JS throughout the admin...

    Thoughts?

  •  1,070
    ThemeNectar replied

    Hey Jason, it's a bit more complicated than that since a lot of the JS is not specific to the options page and needs to be loaded on all post type pages for various metabox functionality - and if I limited those scripts to loading only on single post type edit pages - custom post types like WooCommerce would still pass the conditional and load them. I tried to log back in to check on this, but am just getting:

    ERROR: Memberium Login Error

    Anyway you could allow me access again so I can see what the error is in this case?

    Cheers

  •   Jason replied privately
  •  1,070
    ThemeNectar replied

    Hey again! I just responded on your other ticket in regards to this problem :)

    Cheers