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

As-you-type auto-selection on the assign roles screen. With patch.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 1.9.2
    • Roles / Access
    • None
    • MOODLE_19_STABLE

      I've just been adding students to new courses by name and got annoyed at waiting for the server to search all the time, so I've written a small bit of javascript to automatically select the first matching name starting with the search string as the user types. This allows the first name to be partially typed and 'Add' to be clicked without scrolling or waiting for a smaller list.

      Patch (roles_assign_html.txt) is against Moodle 1.9.2.+ (20080901) - apply it to /admin/roles/assign.html and add search.js to the /admin/roles directory. Patched assign.html is included too if you want to just overwrite the file.

        1. assign_patch.txt
          2 kB
          Matt Gibson
        2. assign.html
          6 kB
          Matt Gibson
        3. search.js
          1 kB
          Matt Gibson

            timhunt Tim Hunt
            mattgibson Matt Gibson (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            2 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.