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

JS Error during calendar adding #5

Open
ajaxovic opened this issue Sep 2, 2016 · 0 comments
Open

JS Error during calendar adding #5

ajaxovic opened this issue Sep 2, 2016 · 0 comments

Comments

@ajaxovic
Copy link

ajaxovic commented Sep 2, 2016

When you enable plugin, you can't add new calendar, because parameter "driver" is not passed into props attribute of button command. JS expect json there and got empty string => crash. So, I found function which add this props (calendar_ui.php, method calendar_create_menu), but this method is never called during render. If I uderstand it right, reason is that in template, you used roundcube:button, not roundcube:object. And here, I got stuck because I don't know roundcube. For a hot-fix, I filed props with json manually and it works. Maybe you know what to do...

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