Uploaded image for project: 'ZK Calendar'
  1. ZK Calendar
  2. ZKCAL-38

Problems when toggling "readonly" on ZK calendar

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.1.3
    • Labels:

      Description

      steps to reproduce in month mold:

      launch a calendar in read only mode -> drag and drop is disabled, no events are fired when clicking somewhere OK
      set readonly to false calendars.setReadonly(false) -> drag and drop work, and events are firing OK
      set readonly back to true calendars.setReadonly(false) -> drag and drop still work, causing lots of errors at the client site

      current workaround to refresh view state, and event bindings on the client side:

      calendars.setReadonly(false);
      calendars.invalidate();

        Attachments

          Activity

            People

            Assignee:
            vincentjian vincentjian
            Reporter:
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: