-
Notifications
You must be signed in to change notification settings - Fork 369
WeekView on-timespan-click does not pass clicked day #291
Comments
A date object should already passed to the callback: If I'm on about a different thing let me know 😄 |
You are right - it is passed... But, it contains only the time portion On Wed, Feb 24, 2016 at 12:29 AM Matt Lewis [email protected]
|
Sorry I can't replicate this, can you show me a screenshot of the part you're clicking? |
Sure:[image: Capture.PNG] On Wed, Feb 24, 2016 at 8:00 PM Matt Lewis [email protected] wrote:
|
Sorry I can't see that image, it just displays as |
[image: Capture.PNG] On Wed, Feb 24, 2016 at 9:09 PM Matt Lewis [email protected] wrote:
|
It's still coming through as |
Oh I get what you mean now, I'm not sure if that's even possible as there isn't a grid of cells where I could put click handlers. I'll have a think about it and get back to you, but it's pretty unlikely as I can't see a simple way of implementing it. |
I would really appreciate it! Thank you for the quick response. On Wed, Feb 24, 2016 at 9:45 PM Matt Lewis [email protected] wrote:
|
The 2 ideas I currently have, neither of which are easy to implement are:
|
I like the second Idea... I think it might even be not that difficult... app.controller('MainCtrl', function($scope, $element) { Knowing the layout of the Weekly View, I guess we could use the $element to I will try it myself and let you know... On Wed, Feb 24, 2016 at 10:37 PM Matt Lewis [email protected]
|
I tried looking at it in the source... sorry.. my javascript just isn't On Thu, Feb 25, 2016 at 9:44 AM Vladimir Dvorkin [email protected]
|
I found a way to implement it, it'll be in the next release 😄 |
Thank you very much!!!! :) On Sat, Feb 27, 2016, 6:51 PM Matt Lewis [email protected] wrote:
|
When using the on-timespan-click callback of the week view, only the clicked hour is passed as parameter.
It would be extremely helpful to also pass the date on which the user clicked - for example if I would like to create a new event on the clicked day and time.
The text was updated successfully, but these errors were encountered: