Commit Graph

12 Commits

Author SHA1 Message Date
Dan Poltawski
12313d6125 MDL-26925 User selector: Set label when no results
Thanks to Jonathon Fowler for the fix!
2013-06-06 14:07:27 +08:00
Andrew Robert Nicols
c2f47c19ad MDL-33680 JavaScript: Improve error handling on user selector
Since the previous commit to this issue removes the built-in debugging
tests, I've added these back using the M.core libraries.
2013-03-16 10:52:02 +00:00
Tim Hunt
c62488c22f MDL-35776 user ajax: fix sort order in chrome.
It seems that Chrome orders fields of objects in order of array key.
Therefore we must stop using user.id in the PHP arrays, and instead
ensure that we use sequential numbers.

This commit fixes the user selector.
2012-10-03 18:46:07 +01:00
Dan Poltawski
624feda48d Merge branch 'MDL-35680' of git://github.com/timhunt/moodle 2012-10-02 09:52:12 +08:00
Tim Hunt
e783cc45ae MDL-35680 user selector: more usable when queries are slow.
The problem is to do when you pause a bit, so a search starts, and then
type a bit more before the search finishes. It was behaving like this:

1. Type a bit, then pause.
2. First search request sent.
3. Type a bit more, then pause.
4. Second search request sent.
5. First search request completes.
6. You try to select one result.
7. Second search request comples, overwriting what you are selecting.

This fix works by cancelling the first request before sending the
second.
2012-09-27 19:03:34 +01:00
Tim Hunt
de867fa36e MDL-34657 user selector: bug with "keep non-matching selected users" 2012-09-27 16:41:50 +01:00
Eloy Lafuente (stronk7)
519fb0b878 Merge branch 'wip-mdl-34606' of git://github.com/rajeshtaneja/moodle 2012-09-04 02:08:54 +02:00
Rajesh Taneja
25ac6d30f2 MDl-34606 Administration: id for clear button is set properly, and disabled on page load 2012-08-27 15:13:52 +08:00
sam marshall
1d1917aeaa MDL-31973 Groups: groups_members table should have 'component', 'itemid' fields 2012-08-24 15:30:13 +01:00
Adam Olley
9bf6815753 user-selector MDL-25975 Fixed timeout bug in user selector that was affecting IE8 2011-03-18 15:02:55 +08:00
Petr Skoda
ca3b1fd973 fixed unterminated JS statements 2010-09-17 19:59:16 +00:00
Sam Hemelryk
456e4852c6 user-selector MDL-21537 Refactored JS to make use of YUI3
*  YUI3 used instead of YUI2, converted all YUI2 components to YUI3 equivalents.
 * Renamed user/selector/script.js to module.js
 * Converted uses of the the user selector to YUI3 + the new events
2010-03-23 07:38:32 +00:00