[Plugin: J Shortcodes] Conflict with LBAK User Tracking
-
Hi gesman,
I’m the author of LBAK User Tracking and I’ve recently run into a conflict between our plugins with one of my users.
The conflict is with some external javascript libraries that we use. I’m using a jQuery plugin called Tooltip (https://flowplayer.org/tools/download/index.html) and you’re using the jQuery ui (jquery-ui-1.8.9.custom.css). They seem to be in conflict on the admin dashboard, causing some AJAX queries to not process correctly. I’m open to the possibility that I’m wrong, though ??
If you were to download my plugin and activate it alongside yours you will notice that some dashboard widgets just stay on the “Loading…” stage and the javascript console will display this error: “Uncaught TypeError: Cannot read property ‘mouse’ of undefined”.
The problem seems to be in the “JAY__Get_Extra_Header_HTML” function. You’re echoing all of your Javascript directly into the headers. I’d recommend that you use the wp_enqueue_scripts functions and attach your script insertions into the appropriate admin_print_scripts-<page name> actions ??
Do you need to use the jquery ui stuff in the dashboard? If not, it would stop the conflict if you didn’t insert it into the dashboard.
Hope to hear back from you soon,
Sam
- The topic ‘[Plugin: J Shortcodes] Conflict with LBAK User Tracking’ is closed to new replies.