Home › Forums › Calendar Products › Events Calendar PRO › Recent update breaks select2 elsewhere
- This topic has 5 replies, 4 voices, and was last updated 8 years, 4 months ago by
papertower.
-
AuthorPosts
-
November 15, 2017 at 4:05 pm #1384057
papertower
ParticipantHad the same issue as this thread: https://theeventscalendar.com/support/forums/topic/select2-js-messes-up-our-custom-code-and-filter-bar-disappears/
Also touches back on a thread we made a while back: https://theeventscalendar.com/support/forums/reply/1214078/
Not sure what was changed regarding select2 in the plugin in the most recent updates, but it broke select2 every where else on the site. It looks like you’re using your own tribe-select2 package. If you’re going to make something unique, please change your selectors as not to break existing select2 code which assumes that a normal select2 is actually being used.
With that, it would also be great if TEC only enqueued the select2 script/styles on the relevant admin screens. I’m not sure why they’re loaded every time.
November 16, 2017 at 2:08 am #1384345Jacob Masters
ParticipantSeeing the same issue, select2 is breaking the ajax in my admin where ever else a select is used, temporary solution is to just disable it everywhere:
function tribe_dequeue_script_example() {
wp_deregister_script( ‘tribe-select2’ );
}
add_action( ‘wp_enqueue_scripts’, ‘tribe_dequeue_script_example’, 100 );add_action( ‘admin_enqueue_scripts’, ‘tribe_dequeue_script_example’, 100 );
November 16, 2017 at 9:04 am #1384764Stephen Bromham
ParticipantThe latest 4.6 update appears to have messed up WooCommerce Product Data tabs – they don’t work anymore. Click on them to display settings and nothing happens. Also WordPress screen options are no longer accessible in WordPress admin pages. The 4.6 update removed select2 folder in favour of a tribe-select2 folder. This temporary solution offered hasn’t worked for us.
November 16, 2017 at 11:37 am #1384977Patricia
MemberHi guys,
Thank you for reaching out to us!
Unfortunately, this is a known issue with the select2 library that causes conflicts with some plugins that also use it. The good news is we released a fix for this issue today: please update The Events Calendar to version 4.6.5 and let us know if everything works as expected after that!
Thanks for your understanding and patience and if you have any other questions, please let me know and I’ll be happy to assist!
Best Regards,
Patricia
December 8, 2017 at 8:35 am #1401369Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Recent update breaks select2 elsewhere’ is closed to new replies.
