voceconnect / multi-post-thumbnails

Adds multiple post thumbnails to a post type. If you've ever wanted more than one Featured Image on a post, this plugin is for you.
143 stars 63 forks source link

JS error when clicking "Choose ..." button in side meta box #3

Closed bigdawggi closed 11 years ago

bigdawggi commented 11 years ago

I'm running WP 3.5, and latest master of the plugin. When clicking the side meta box's button for choosing the secondary featured image, I'm getting a JavaScript error as follows:

Object [object Object] has no method 'on' 

frame.toolbar.on( 'activate:select', function() {

I've not dug into the new media management UI to be able to submit a patch yet, but wanted to at least put this out there.

markparolisi commented 11 years ago

what version of jQuery are you running? Are you enqueing a different one from core?

chrisscott commented 11 years ago

@bigdawggi Thanks. Confirmed. Something changed last minute with the media handling before 3.5 went live. The standard plugin repo version still works. I'm working on updating master to work with the final media handling now.

bigdawggi commented 11 years ago

Thanks guys! Sorry I didn't include the jQuery ver, it was 1.8.3 from the /wp-includes/js/jquery/jquery.js

chrisscott commented 11 years ago

This is turning out to be way more work than I thought so it may be a while before this gets updated.

bigdawggi commented 11 years ago

That's what I was guessing, they did a lot of work right at the end. I'll just use ver 1.3 on wp.org for now then. Thanks for all your work on it!

chrisscott commented 11 years ago

The new media modal is used in the media-modal branch. This will be released next week.