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

Conditional activities don't behave same in ajax and non-ajax mode.

XMLWordPrintable

    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • wip-mdl-36131
    • Hide
      1. Turn on conditional activities and enable AJAX mode.
      2. Visit a course and create an activity that is set 'visible to students' but has a date restriction in future
      3. Visit the course page and check activity, is should be grey and availability information should be grey as well.
      4. Click hide button and activity is greyed and available information is hidden
      5. Click show button and activity is still greyed and available information is shown
      6. Visit a course and create an activity that is set 'visible to students' but has a date restriction in past
      7. Visit the course page and check activity, is should be active link, but availability information should be grey.
      8. Click hide button and activity is greyed and available information is hidden
      9. Click show button and activity is active and available information is shown
      Show
      Turn on conditional activities and enable AJAX mode. Visit a course and create an activity that is set 'visible to students' but has a date restriction in future Visit the course page and check activity, is should be grey and availability information should be grey as well. Click hide button and activity is greyed and available information is hidden Click show button and activity is still greyed and available information is shown Visit a course and create an activity that is set 'visible to students' but has a date restriction in past Visit the course page and check activity, is should be active link, but availability information should be grey. Click hide button and activity is greyed and available information is hidden Click show button and activity is active and available information is shown

      In AJAX mode with conditional activities on, click on show/hide button and nothing happens at first click.
      On second click activity hide icon is not in sync with dimmed text. Also, availability information is not hidden when activity is hidden.

      NON-AJAX Mode, which should be same in AJAX mode.

      1. Turn on conditional activities and disable AJAX mode.
      2. Visit a course and create an activity that is set 'visible to students' but has a date restriction in future
      3. Visit the course page and check activity, is should be grey and availability information should be grey as well.
      4. Visit a course and create an activity that is set 'visible to students' but has a date restriction in past
      5. Visit the course page and check activity, is should be active link, but availability information should be grey.
      6. Click hide button and activity is greyed and available information is hidden

            rajeshtaneja Rajesh Taneja
            rajeshtaneja Rajesh Taneja
            Mark Nelson Mark Nelson
            Sam Hemelryk Sam Hemelryk
            Jason Fowler Jason Fowler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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