Skip to content

Sometimes events are hidden behind other events #33

@jarrettchisholm

Description

@jarrettchisholm

Sometimes events are hidden behind other events, even when they shouldn't be.

We would have events booked like so:

  1. 1:42pm - 1:44pm
  2. 1:44pm - 1:50pm
  3. 1:48pm - 1:50pm

I would expect event 3 to be above event 2. However, it is underneath it.

Our properties are set like so:

return $('#calendar_0').cal({
        startdate       : startdate, // Week beginning sunday.
        daystodisplay   : daystodisplay,
        monthstodisplay : monthstodisplay,

        allowresize     : false,
        allowmove       : false,
        allowselect     : false,
        allowremove     : false,
        allownotesedit  : false,

        allowhtml       : true,

        // Start and end times for the days
        daytimestart    : '07:00:00',
        daytimeend      : '20:00:00',

        dragincrement   : '2 mins',
        gridincrement   : '2 mins',
        creationsize    : '2 mins',

        minwidth        : 100,
        minheight       : 35,
        overlapoffset   : 30

        masktimelabel : {
            '00' : 'g:i <\\sp\\a\\n>A<\/\\sp\\a\\n>',
            '10' : '<\\sp\\a\\n>g:10A<\/\\sp\\a\\n>',
            '20' : '<\\sp\\a\\n>g:20A<\/\\sp\\a\\n>',
            '30' : '<\\sp\\a\\n>g:30A<\/\\sp\\a\\n>',
            '40' : '<\\sp\\a\\n>g:40A<\/\\sp\\a\\n>',
            '50' : '<\\sp\\a\\n>g:50A<\/\\sp\\a\\n>',
            'noon' : '\\N\\O\\O\\N'
        },

        //maskdatelabel : 'D',

        eventselect : function( uid ){
            //console.log( 'Selected event: '+uid );

        },

        eventmove : function( uid ){
            //console.log( 'Moved event: '+uid, arguments );
        },

        eventremove : function( uid ){
            //console.log( 'Removed event: '+uid );
        },

        eventnotesedit : function( uid ){
            //console.log( 'Edited Notes for event: '+uid );
        },

        events : []
    });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions