Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.5
    • Component/s: JavaScript
    • Labels:
    • Testing Instructions:
      Hide

      These instructions assume that you have already installed jshint from node.js (npm -g install jshint)
      They also assume that you've downloaded https://github.com/yui/shifter/blob/master/.jshintrc and stick it in your home directory (or moodle checkout).

      In all supported browsers (IE, Chrome, Safari, Firefox):

      • Run jshint over lib/yui/formautosubmit/formautosubmit.js
        • Confirm that no errors were shown
      • Open a course page
      • Open your JS console
        • If possible, turn on recording so that messages aren't lost between page reloads
      • Turn editing on
      • Ensure that the activity chooser is off
      • On a random (not first, or last) 'Add a resource...' dropdown:
        • select an option
        • Confirm that the page starts to navigate away
        • Cancel the page reload (if possible)
        • Confirm that no errors or warnings were shown in the JS console
      • On a different dropdown, repeat the above (to make sure that it's not just working on one dropdown on the page
      • Repeat the above tests on the 'Add a block' dropdown (it's a different beast)
      • Open the /course/search.php page and find some results
      • Try using the 'Move selected courses to...' dropdown
        • Confirm that no errors were shown
        • Confirm that the page reloads and reflects the changes you made (or didn't make)
      Show
      These instructions assume that you have already installed jshint from node.js (npm -g install jshint) They also assume that you've downloaded https://github.com/yui/shifter/blob/master/.jshintrc and stick it in your home directory (or moodle checkout). In all supported browsers (IE, Chrome, Safari, Firefox): Run jshint over lib/yui/formautosubmit/formautosubmit.js Confirm that no errors were shown Open a course page Open your JS console If possible, turn on recording so that messages aren't lost between page reloads Turn editing on Ensure that the activity chooser is off On a random (not first, or last) 'Add a resource...' dropdown: select an option Confirm that the page starts to navigate away Cancel the page reload (if possible) Confirm that no errors or warnings were shown in the JS console On a different dropdown, repeat the above (to make sure that it's not just working on one dropdown on the page Repeat the above tests on the 'Add a block' dropdown (it's a different beast) Open the /course/search.php page and find some results Try using the 'Move selected courses to...' dropdown Confirm that no errors were shown Confirm that the page reloads and reflects the changes you made (or didn't make)
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-37366-master

      Description

      As it says on the tin

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/13