XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.8
    • 2.8
    • SCORM add-on
    • Hide

      Since the API is still inactive, the only way to test it is to manually trigger the event.

      1. Open a SCORM in the app.
      2. Open the JavaScript console and execute the following lines. Please replace the scormid value with your SCORM ID.

        var $mmEvents = angular.element(document.querySelector('[ng-app]')).injector().get('$mmEvents');
        var mmaModScormEventUpdateToc= angular.element(document.querySelector('[ng-app]')).injector().get('mmaModScormEventUpdateToc');
        $mmEvents.trigger(mmaModScormEventUpdateToc, {scormid: 11});
        

      3. Check that a spinner is shown while TOC is being loaded, and that the TOC is updated when it's done.
      Show
      Since the API is still inactive, the only way to test it is to manually trigger the event. Open a SCORM in the app. Open the JavaScript console and execute the following lines. Please replace the scormid value with your SCORM ID. var $mmEvents = angular.element(document.querySelector('[ng-app]')).injector().get('$mmEvents'); var mmaModScormEventUpdateToc= angular.element(document.querySelector('[ng-app]')).injector().get('mmaModScormEventUpdateToc'); $mmEvents.trigger(mmaModScormEventUpdateToc, {scormid: 11}); Check that a spinner is shown while TOC is being loaded, and that the TOC is updated when it's done.
    • MOODLE_28_STABLE
    • MOODLE_28_STABLE

      The TOC should be rendered again under certain circumstances.

      We should use the same icons that the Moodle Web version for indicating if the SCORM is completed, passed, failed, etc... See icons here

      Note that initially this will require to be on-line (so this information is retrieved from the server), once we support offline browsing we will have to update the TOC considering the local information stored and not synchronized

            dpalou Dani Palou
            jleyva Juan Leyva
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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