• Hello,

    We’re running a site with plugins that use jQuery UI. When we enable the Activity Log plugin the admin interface throws an error:

    admin_script.js?ver=4.7:15
    Uncaught TypeError: Cannot read property ‘noConflict’ of undefined at HTMLScriptElement.<anonymous> (admin_script.js?ver=4.7:15)

    The errors go away when I update admin_script.js to comment out these lines:

    var bootstrapButton = jQuery.fn.button.noConflict();
    jQuery.fn.bootstrapBtn = bootstrapButton;

    In testing I haven’t noticed any problem with doing that. But the obvious issue is that if I do this and you update that file in the next release, I’ll likely lose those changes or they’ll conflict with our repo. So I thought it best to mention this here. Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Yakir Sitbon

    (@kingyes)

    Hey,

    We don’t have any admin_script.js file in our plugin and don’t have jQuery.fn.button.noConflict(); code..

    Are you sure it’s from our plugin?

Viewing 1 replies (of 1 total)
  • The topic ‘jQuery UI Conflict’ is closed to new replies.