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

Problems when toggling "readonly" on ZK calendar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1.3
    • 2.1.2

      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();

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

              Created:
              Updated:
              Resolved: