Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

Cannot select beyond 12 pm #15

Open
jmarquesh opened this issue Nov 2, 2013 · 3 comments
Open

Cannot select beyond 12 pm #15

jmarquesh opened this issue Nov 2, 2013 · 3 comments

Comments

@jmarquesh
Copy link

I just noticed that I cannot select (click and drag in an empty space) beyond 12 pm. If I select before 12 pm it works properly. If I start the selection before 12 pm and try to go beyond 12 pm, the placeholder disappears.

That only happens in the resource view. In the week and day view the select works as expected.

@jmarquesh
Copy link
Author

The error only happens when snapMinutes is different then slotMinutes.

To fix it go to the anonymous function in the following line:

coordinateGrid = new CoordinateGrid(function(rows, cols) {...

Inside the function change the line:

for (var i=0; i<slotCnt; i++) {

with:

for (var i = 0; i < slotCnt * snapRatio; i++) {

@amsross
Copy link

amsross commented Nov 9, 2013

fork > change > test > commit > pull request

@jmarquesh
Copy link
Author

I'm sorry but I'm not very familiar with Github and I don't know how to do that. I barely have time for the project where I use this calendar.

I'll try to find some time but in the meanwhile I think at least is better to have the issue.

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

No branches or pull requests

2 participants