Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-31740

Store form change state in a different js variable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.3
    • Forms Library
    • MOODLE_23_STABLE

      As DanP pointed out in his comments on MDL-31655, M.cfg may not be the best place for storing the state information of form changes.
      I'm not aware of another suitably named variable in the JS namespace, so if we were to update the existing code from MDL-31315, MDL-31655, and MDL-31673 then we'd need a variable for this such as statedata:

      M.statedata = M.statedata || {};

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.