jquery - select time range issue -


i'm having weird issue using fullcalendar jquery plugin. works fine except when i'm in "week" view, when choose time slot, seems automatically choose slot 30-60 minutes greater want choose.

for exampl, if want select 3 pm slot, when click on 3 pm slot, highlights either 3:30 or 4 pm slot.

this bothering me , can't figure out how solve it. have feeling has css styling on side? want point out had change original width of calendar 900 pixels 100% in order fit had. think somehow messed calculations related offset of mouseclicks?

it´s been year since posted this, in case else searching similar issue found in fullcalendar issue tracker:

http://code.google.com/p/fullcalendar/issues/detail?id=1035&q=select&colspec=id%20type%20status%20milestone%20summary%20stars

it changes line(3152) in fullcalendar.js:

slotheight = slottablefirstinner.height() + 1; // +1 border

for one:

slotheight = slottablefirstinner.parents('tr').outerheight() + 1; // +1 border

this didn´t totally works me cuase in latest hours in day view selecting 30 minutes less, taking out " + 1" did trick, works me:

slotheight = slottablefirstinner.parents('tr').outerheight();

hope out there!


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -