Issue Details (XML | Word | Printable)

Key: MDL-16418
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Duplicate
Priority: Minor Minor
Assignee: Tim Hunt
Reporter: Matt Gibson
Votes: 2
Watchers: 3
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

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

Created: 09/Sep/08 06:38 PM   Updated: 22/Oct/08 06:13 PM
Return to search
Component/s: Roles
Affects Version/s: 1.9.2
Fix Version/s: None

File Attachments: 1. HTML File assign.html (6 kB)
2. Text File assign_patch.txt (2 kB)
3. File search.js (1 kB)

Issue Links:
Duplicate
 

Participants: Matt Gibson and Tim Hunt
Security Level: None
Resolved date: 22/Oct/08
Affected Branches: MOODLE_19_STABLE


 Description  « Hide
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.


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Matt Gibson made changes - 09/Sep/08 07:19 PM
Field Original Value New Value
Attachment assign.html [ 15110 ]
Matt Gibson made changes - 09/Sep/08 07:19 PM
Attachment search.js [ 15111 ]
Matt Gibson made changes - 09/Sep/08 07:20 PM
Attachment assign_patch_2.txt [ 15112 ]
Matt Gibson made changes - 09/Sep/08 07:24 PM
Attachment assign.html [ 15113 ]
Matt Gibson made changes - 09/Sep/08 07:25 PM
Attachment assign_patch_3.txt [ 15114 ]
Matt Gibson made changes - 09/Sep/08 11:00 PM
Attachment assign_patch_4.txt [ 15115 ]
Matt Gibson made changes - 09/Sep/08 11:00 PM
Attachment assign.html [ 15113 ]
Matt Gibson made changes - 09/Sep/08 11:00 PM
Attachment assign.html [ 15110 ]
Matt Gibson made changes - 09/Sep/08 11:00 PM
Attachment assign.html [ 15108 ]
Matt Gibson made changes - 09/Sep/08 11:01 PM
Attachment assign_patch_2.txt [ 15112 ]
Matt Gibson made changes - 09/Sep/08 11:01 PM
Attachment assign_patch_3.txt [ 15114 ]
Matt Gibson made changes - 09/Sep/08 11:01 PM
Attachment search.js [ 15111 ]
Matt Gibson made changes - 09/Sep/08 11:01 PM
Attachment roles_assign_html.txt [ 15106 ]
Matt Gibson made changes - 09/Sep/08 11:01 PM
Attachment search.js [ 15107 ]
Matt Gibson made changes - 09/Sep/08 11:01 PM
Attachment search.js [ 15116 ]
Matt Gibson made changes - 09/Sep/08 11:01 PM
Attachment assign.html [ 15117 ]
Tim Hunt made changes - 12/Sep/08 11:55 AM
Assignee Eloy Lafuente (stronk7) [ stronk7 ] Tim Hunt [ timhunt ]
Tim Hunt made changes - 12/Sep/08 11:55 AM
Fix Version/s 2.0 [ 10122 ]
Matt Gibson made changes - 23/Sep/08 05:13 PM
Attachment assign.html [ 15215 ]
Matt Gibson made changes - 23/Sep/08 05:13 PM
Attachment assign.html [ 15117 ]
Matt Gibson made changes - 23/Sep/08 05:14 PM
Attachment assign_patch.txt [ 15216 ]
Matt Gibson made changes - 23/Sep/08 05:14 PM
Attachment assign_patch_4.txt [ 15115 ]
Tim Hunt made changes - 22/Oct/08 06:13 PM
Link This issue duplicates MDL-16966 [ MDL-16966 ]
Tim Hunt made changes - 22/Oct/08 06:13 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Duplicate [ 3 ]
Fix Version/s 2.0 [ 10122 ]