-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Disable day view on date click #325
Comments
This code snippet seemed to work for me, however, I was unable to unbind the double click. Hope this helps :
I also tried to unbind double click with this :
Ended up having to comment line 937 to 941 in the calendar.js file
|
Thank you very much, I just commented out lines https://github.com/Serhioromano/bootstrap-calendar/blob/master/js/calendar.js#L934-L943 and now it is perfect - click and doubleclick opens the bottom drawer. Great! |
Simply do this.
|
@Matthieusch This solution is perfect for me! Is there a Wiki or something else where all calendar "constructor options" are explained? |
Hi @renaudjenny, I had to check sources to find it in : https://github.com/Serhioromano/bootstrap-calendar/blob/master/js/calendar.js line 95. |
@Matthieusch Oh great! It's right that this part explains all options by itself. Thanks again 😃 |
Hi,
When you click the number in month view, you get day view. How can I disable this behaviour? I don't want anything to happen if someone clicks the number.
I'm new to JS, of course, so I would appreciate something like "in app.js add option something something" because I don't know what it means to "unbind event" :) Thanks!
The text was updated successfully, but these errors were encountered: