javascript - jQuery FullCalendar plugin with Room reservation system -


i'm using fullcalendar resourceviews plugin reservation project , working :d

the problem overlapping. yes there more question in stackoverflow overlapping. mine little different.

i've modified overlapping function resource views plugin.

function isoverlapping(event,calendar){     var array = calendar.fullcalendar('clientevents');     console.log(array)     for( in array ) {         if( array[i].resource != event.resource ){             if( !(array[i].start >= event.end || array[i].end <= event.start) ){                 return true;             }         }     }     return false; } 

but problem cannot allow book same room same date range. please visit fiddle here. can see problem clearly


Comments

Popular posts from this blog

javascript - JS causing window size to be bigger than necessary - Dropdown bug -

php - Calling a template part from a post -

How to mention the localhost in android -