I’ve tried to create a recurring event.
But after I select daily (or weekly, it doesnt really matter), the remaining inputs and selects stays disabled. On save, the reoccurence is not saved at all. Not even the setting to daily.
WP 4.2.2
Event Organiser: Latest
Raitschin Raitschew
Hi Raitschin,
Is this when creating a new event, or editing an existing one? When editing a recurring event it’s necessary to select the checkbox at the top of the event details metabox to allow editing of the event’s dates.
But it sounds like this is occurring for new events, so there’s probably a javascript error on the page. If right click, select ‘inspect element’ and then select console, then refresh the page you may see some error messages, feel free to post them here.
I’ve just sent you an e-mail regarding this issue in case you’re not sure and would like me to take a look.
Stephen Harris
Hi Stephen,
I checked that. If i create a new event, there’s no such Checkbox:
http://www.awesomescreenshot.com/image/367632/b6ee5f08b751d24ad88a39c88b4ea0ed
The error stays on existing and new events but the JavaScript console is free of any errors. I tested with latest Chrome and Firefox. Any other ideas?
Raitschin Raitschew
The checkbox won’t appear for new events, so that’s behaving as expected. The screenshot revealed something however: the venue selection combox hadn’t been properly initialized. That is done by JS as is a lot of the UI for selecting dates.
This suggests the problem is almost definitely a JavaScript error on the page. I’m happy to doublr check for this for you as I know you didn’t see any.
Stephen Harris
I could find the problem now.
It was directly linked to this solution:
https://github.com/stephenharris/Event-Organiser/issues/279
So now we don’t have a working media Library. I can create you a user account on that wordpress – on which e-mail would you prefer that?
Raitschin Raitschew
function event_manager_css_fix() {
echo '<style>
ul.attachments.ui-state-disabled {
pointer-events: all;
opacity: 1;
}
</style>';
}
add_action('admin_head', 'event_manager_css_fix');
This is how we could “fix” our problem for now. Doesnt look too clean though.
Raitschin Raitschew
Your fix above ensures .ui-state-disabled
elements can be used, which runs against the purpose of that class. The real reason, is why the class ui-state-disabled
is not removed when you check the checkbox.
Please use stephen at this domain for the e-mail, and I’ll take a look as soon as possible.
Stephen Harris