Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore "new event" icon to monthly view for mobile devices. (v1.9.10) #528

Open
42daha opened this issue Dec 17, 2024 · 0 comments
Open

Comments

@42daha
Copy link

42daha commented Dec 17, 2024

Recently upgraded from 1.2.9 to 1.9.10, and I noticed that the "New event" icon is now missing from the monthly calendar view. While the double-click to create an event is nice on a desktop system, it doesn't work well on Android with Chrome because the double-click event is hooked to zoom-out, so the dblclick event handler for the table cell never gets called. It would be nice to have the "New Event" back for mobile devices. I enabled it on my own install by changing includes/functions.php, line 1101 to pass false for the last parameter ($disallowAddIcon) instead of true:

$ret_events = print_date_entries ( $dateYmd,
( empty ( $user ) ? $login : $user ), false, false );

Adding the ability to customize that via a system setting would be very nice. My family members have also found the "New event" icon to be very intuitive to use. None of them have figured out the double-click option so far. I found it because I happened to run across it in the documentation while looking for an option to bring the icon back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant