AJAX in Add/Edit Product Not Working in 5.0
-
Since I’ve updated to Gutenberg, I’m not able to get any of the AJAX functionality to work on the edit pages for my products. For example, when I go to an “edit product” page, I can’t do things like expand/collapse meta boxes, drag to rearrange the meta boxes, or edit the slug. Is this a known issue? Is there a workaround?
When I took a look at the Console, all I found was this:
Uncaught TypeError: Cannot read property 'length' of undefined at HTMLDocument.<anonymous> (post.php?post=12733&action=edit:278) at i (jquery.js?ver=1.12.4:2) at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2) at Function.ready (jquery.js?ver=1.12.4:2) at HTMLDocument.K (jquery.js?ver=1.12.4:2)Line 278 has this:
jQuery("#excerpt_counter").val(jQuery("#meta-textarea").val().length);Any thoughts are much appreciated!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘AJAX in Add/Edit Product Not Working in 5.0’ is closed to new replies.