jQuery blocking error on admin.js
-
I found an issue with your plugin. Some code inside the admin.js file is using deprecated jQuery methods blocking the execution of following javascript in edit posts admin pages. I fixed my own way, but I would like to be useful giving you my solution, hope you will fix the issue in a next release.
File: /wp-content/plugins/zendesk/js/admin.js
LN 22
<<-- $('.zendesk-change-view').live('click', function() { -->> $(document).on('click', '.zendesk-change-view', function() {LN 75
<<-- $('.zendesk-ticket-view').live('click', function() { -->> $(document).on('click', '.zendesk-ticket-view', function() {LN 122
<<-- $('.zendesk-view-comments').live('click', function() { -->> $(document).on('click', '.zendesk-view-comments', function() {LN 220
<<-- $('.zendesk-comment-to-ticket-form').live('submit', function() { -->> $(document).on('submit', '.zendesk-comment-to-ticket-form', function() {Thanks for your work
The page I need help with: [log in to see the link]
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
The topic ‘jQuery blocking error on admin.js’ is closed to new replies.