hansas / jmonthcalendar

Automatically exported from code.google.com/p/jmonthcalendar
Other
0 stars 0 forks source link

missing argument in _showMoreClick #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
var _showMoreClick = function(e, boxIndex)
{
        var box = _boxes[boxIndex];
        def.onShowMoreClick.call(this, box.events);
        e.stopPropagation();
}

In the above function, you are missing to pass the boxIndex as the last
parameter into the:

def.onShowMoreClick.call

It should be:

        def.onShowMoreClick.call(this, box.events, boxIndex);

Original issue reported on code.google.com by sonukap...@gmail.com on 12 Aug 2009 at 5:08

GoogleCodeExporter commented 9 years ago
boxIndex and _boxs are private.

Original comment by k.leneau@gmail.com on 12 Aug 2009 at 7:27