29 Commits

Author SHA1 Message Date
Andrew Robert Nicols
344936ae48 MDL-37350 Detach listeners when hiding the 'Add roles' popup
If the submit event listener is not correctly closed, then the submit event
calls the relevant callback multiple times incorrectly.

When hiding the Add role dialogue, we need to detach any event listeners
which are applied to it.
2013-01-28 09:57:08 +00:00
Tim Hunt
e059c033d9 MDL-35802 enrol other users: should use Show user identity setting.
As part of fixing this, I refactored some common code out of
get_potential_users and search_other_users. Previously, only one of
those bits of code had been updated.
2012-10-05 12:07:26 +01:00
Andrew Robert Nicols
d2a27ab01b MDL-29007 Rename moodle-enrol-notification to moodle-core-notification 2012-07-25 16:22:18 +01:00
Andrew Robert Nicols
346099f08b MDL-33731 Add exception for closebutton when drag/dropping activity chooser 2012-06-14 11:30:29 +01:00
Andrew Robert Nicols
984ec46e03 MDL-33292 Consume the new ability to move dialogues in chooser dialogues 2012-06-07 14:58:54 +01:00
Andrew Robert Nicols
06a78ea6a4 MDL-33292 Add ability to move (drag) M.core.dialogue 2012-06-07 14:47:33 +01:00
Andrew Robert Nicols
bc6b1799d7 MDL-30627 Ensure that the dialogue is always shown in the current view window 2011-12-07 11:48:39 +00:00
Petr Skoda
0958759dc2 MDL-28554 workaround for http://yuilibrary.com/projects/yui3/ticket/2530999
Do not load io-xdr and io-upload-iframe on the same page.
2011-08-25 11:38:34 +02:00
Sam Hemelryk
b69ca6bee4 MDL-23532 enrol - moved UI enrolment components from core enrol to their respective enrolment plugins 2011-04-21 10:02:54 +08:00
Nadav Kavalerchik
b41fc49c26 CSS MDL-26013 Fixed several display bugs when using right to left languages 2011-04-14 15:56:10 +08:00
Andrew Davis (andyjdavis)
13ba903634 enrol MDL-25718 added ability to recover user grades from grade history 2011-04-08 15:06:27 +08:00
Eloy Lafuente (stronk7)
21473e6cd7 Merge branch 'wip-MDL-26560-master' of git://github.com/samhemelryk/moodle 2011-04-04 23:21:49 +02:00
Sam Hemelryk
a1ead9a478 enrolments MDL-26560 Fixed panel.user bug with role assignments dialogue 2011-04-04 14:49:28 +08:00
Sam Hemelryk
af8851282e enrolments MDL-26858 Added finish user enrolments button to JS dialogue 2011-04-04 14:37:35 +08:00
Nikhil Gupta
d099348e32 MDL-26989 fix incorrect disabling of assignable roles 2011-03-27 20:34:15 +02:00
David Mudrak
05e7fca43f Yet another string using proper placeholder in Javascript 2010-11-17 12:44:17 +00:00
David Mudrak
049e880cce AJAX enrolment uses proper {$a} placeholder
We now have M.util.get_string() that should be used instead of custom
replacement. Otherwise the placeholder is not detected in AMOS
web translator.
2010-11-16 18:02:14 +00:00
Sam Hemelryk
f9e29573c0 enrolments MDL-24280 Cohort enrolments now uses AJAX method getdefaultcohortrole when selecting the default role 2010-09-20 02:44:16 +00:00
Sam Hemelryk
e2aca3c211 enrolments MDL-24281 Removed fixed with on enrol cohorts JS module buttons so large strings get shown. 2010-09-20 01:34:41 +00:00
Petr Skoda
3f35a7ffd4 improved JS coding style 2010-09-17 12:25:14 +00:00
Petr Skoda
8505d9253b fixed unterminated JS statements + whitespace 2010-09-17 12:22:49 +00:00
jerome mouneyrac
1ce282c884 community hub MDL-24011 add rating/comment to search results + new CSS design 2010-09-08 08:48:10 +00:00
samhemelryk
4a370785b6 enrol MDL-22854 Re-jigged the enrolment dialogue putting the role and options up the top 2010-07-28 09:11:03 +00:00
Sam Hemelryk
9f15347e2c enrol MDL-23447 Others users page now only lists roles that have moodle/course:view 2010-07-23 08:21:42 +00:00
Sam Hemelryk
57e8a9361f enrol MDL-23384 fixed issue with cohort sync JavaScript not redirecting after successfully enrolling a cohort 2010-07-20 03:56:22 +00:00
Sam Hemelryk
6db3eee02b enrol MDL-23117 Implements the other users UI for users with roles in a course but not enrolled.
At the same time this commit introduces a standardised dialogue YUI module to enrol and implements it across the board.
This commit also addresses MDL-23292 and MDL-23319.
2010-07-16 08:30:06 +00:00
Sam Hemelryk
23cee7a4cf enrol MDL-22867 Fixed a couple of bugs and made some slight display changes.
* Set the default per page limit to 100 instead of 20
* Set the default enrolment role to enrol_manual:roleid config
* Added course name to page title
* Fixed centering bug of cohort dialogue
* Fixed double display bug
2010-07-12 09:01:59 +00:00
Sam Hemelryk
2ec702c999 enrol MDL-22867 Added functionality to add cohort sycn or preform a one off member enrolment on the enrolled users screen. 2010-07-12 08:28:13 +00:00
Sam Hemelryk
a70eb30fa9 enrol MDL-22854 New ajaxified enrolment interface 2010-07-07 02:46:34 +00:00