Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Calendar: clicking on last day column doesn't show event dialog

    SmartClient Version: v9.0p_2013-07-29/EVAL Development Only

    Chrome, Firefox

    tested in the showcase, if you click on a saturday, the event dialog doesn't show.

    #2
    BUG

    I managed to reproduce in the showcase another bug, in the #customCalendar sample, add this code to the calendar:
    Code:
    showQuickEventDialog:false,showDayView:false,
    then clicking on a day other than a saturday, with chrome and IE10 raises:
    Code:
    10:10:35.516:MUP5:WARN:Log:TypeError: Cannot read property 'body' of undefined
    Stack from error.stack:
        Calendar._findEventWindow()
        Calendar._showEventDialog()
        Calendar.showNewEventDialog()
        MonthSchedule.cellClick()
        eval()
        GridRenderer._cellClick()
        GridRenderer._rowClick()
        [a]MathFunction.invokeSuper()
        [a]MathFunction.Super()
        GridBody._rowClick()
    and with firefox:
    Code:
    10:15:12.842:MUP0:WARN:Log:TypeError: _3 is undefined
    Stack from error.stack:
        Calendar._findEventWindow()
        Calendar._showEventDialog()
        Calendar.showNewEventDialog()
        MonthSchedule.cellClick()
        anonymous()
        GridRenderer._cellClick()
        GridRenderer._rowClick()
        [a]MathFunction.invokeSuper()
        [a]MathFunction.Super()
        GridBody._rowClick()
        GridRenderer.click()
        Canvas.handleClick()
        [c]EventHandler.bubbleEvent()
        [c]EventHandler.handleClick()
        EventHandler._handleMouseUp()
        [c]EventHandler.handleMouseUp()
        [c]EventHandler.dispatch()
        anonymous()
        unnamed() @
    Last edited by claudiobosticco; 30 Jul 2013, 00:15.

    Comment


      #3
      For your first issue, clicking Saturdays doesn't show the Event Editor, set calendar.disableWeekends: false

      For the second issue, JS error when showQuickEventDialog is false and you click an empty date in the monthView, has been fixed for tomorrow's builds.

      Comment

      Working...
      X