jQuery UI Conflict
-
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!
- The topic ‘jQuery UI Conflict’ is closed to new replies.