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

Reduce dependencies for moodle-core-tooltip

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.6
    • Component/s: JavaScript
    • Labels:
    • Testing Instructions:
      Hide

      Make sure you have the following settings:

      • debug = None
      • cachejs = Yes
      • jsrev (not set - can only be set in config.php)
      • Navigate to the login page
      • In your developer tools, navigate to the 'Network tab', and clear current results
      • Click on the help icon
        • Confirm that you saw an XDR request to help_ajax.php
      • Close the help tooltip
      • Re-open the same tooltip
        • Confirm that help is shown
        • Confirm that no errors were shown in the JS console
        • Confirm that you did not see an XDR request to help_ajax.php
      Show
      Make sure you have the following settings: debug = None cachejs = Yes jsrev (not set - can only be set in config.php) Navigate to the login page In your developer tools, navigate to the 'Network tab', and clear current results Click on the help icon Confirm that you saw an XDR request to help_ajax.php Close the help tooltip Re-open the same tooltip Confirm that help is shown Confirm that no errors were shown in the JS console Confirm that you did not see an XDR request to help_ajax.php
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:

      Description

      This only uses cache-base, not cache-plugin or cache-offline.
      Remove unnecessary dependencies to reduce number of loaded modules.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13