1
0
mirror of https://github.com/moodle/moodle.git synced 2025-03-26 18:42:40 +01:00

140 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
857b40256e Merge branch 'MDL-37526-m' of git://github.com/andrewnicols/moodle 2013-01-29 23:33:22 +01:00
Andrew Robert Nicols
8a185b9ebc MDL-34671 Stop browser receiving escape keydown in modal dialogues
In certain modal dialogues, we listen on the Escape key to close a
dialogue. However, this is still passed to the browser. As a result, if the
browser is in full screen mode and that browser respects the escape key as
a means to exit full screen.

As a result, we need to ensure that we listen for the escape key at keydown
rather than keyup, and additionally prevent the default browser behaviour.

This is a workaround to http://yuilibrary.com/projects/yui3/ticket/2532616
and, should that issue be fixed, it should be removed.
2013-01-28 10:35:26 +00:00
Andrew Robert Nicols
c6dcce6ad3 MDL-37526 Fix lint issues in moodle-core-notification 2013-01-25 12:32:22 +00:00
Dan Poltawski
dec70f2599 Revert "MDL-32652 - Make block drag-drop work throughout Moodle"
This reverts commit d7c29c22572314680350ccdcf801f188aca541e4.
2013-01-25 11:52:15 +08:00
Dan Poltawski
011ee6742f Merge branch 'MDL-37426-m' of git://github.com/andrewnicols/moodle 2013-01-22 12:41:12 +08:00
Dan Poltawski
94abbef12f Merge branch 'MDL-32652_master' of git://github.com/pauln/moodle 2013-01-21 09:59:35 +08:00
Andrew Robert Nicols
d7d68b03ee MDL-37426 Fix JSHint issues for moodle-core-formchangechecker 2013-01-15 17:34:04 +00:00
Dan Poltawski
28cfdfe180 Merge branch 'MDL-37366-master' of git://github.com/andrewnicols/moodle 2013-01-15 12:10:10 +08:00
Dan Poltawski
a0ea4d9fe1 Merge branch 'MDL-37415-m' of git://github.com/andrewnicols/moodle 2013-01-15 11:09:27 +08:00
Dan Poltawski
121d7a3f7d Merge branch 'MDL-37413-m' of git://github.com/andrewnicols/moodle 2013-01-15 10:58:31 +08:00
Paul Nicholls
d7c29c2257 MDL-32652 - Make block drag-drop work throughout Moodle
Other than shifting the initialisation from course/lib.php to
lib/outputrequirementslib.php, some workarounds/tweaks were required
in order to make it work correctly on admin pages and My Home.
2013-01-15 14:55:31 +13:00
Andrew Robert Nicols
699a13e1a6 MDL-37366 Fix JS Lint issues with moodle-core-formautosubmit 2013-01-13 23:58:04 +00:00
Andrew Robert Nicols
8743aabca0 MDL-37397 Test for a valid select in formautosubmit
Ideally we shouldn't get into this situation, but in cases where the
generated select element is incorrectly configured, we should try and
handle it gracefully with a warning.
2013-01-11 11:49:44 +00:00
Andrew Robert Nicols
f96ec5ad96 MDL-37413 Use correct variable in chooserdialogue 2013-01-11 08:18:47 +00:00
Andrew Robert Nicols
a6d96f27e8 MDL-37415 Fix JSHint issues for moodle-core-chooserdialogue 2013-01-08 08:57:08 +00:00
Dan Poltawski
3280819b20 Merge branch 'MDL-30899_master' of git://github.com/dmonllao/moodle 2012-12-18 09:10:42 +08:00
David Monllao
9e8961e76f MDL-30899 moodle-enrol-notification Overridding default footer padding 2012-12-17 15:39:19 +08:00
Mark Nielsen
e893c6d442 MDL-36607: Improve block drag and drop
* Adding support for subpage
* Adding support for regions that do not start with "side-"
2012-12-10 14:12:57 +13:00
David Monllao
67cf74b269 MDL-30899 moodle-core-notification Adding ARIA attributes 2012-11-27 14:41:42 +08:00
David Monllao
4bcbdb3e88 MDL-30899 moodle-core-notification Adding close button title for accessibility 2012-11-27 14:41:42 +08:00
David Monllao
f068cac195 MDL-30899 moodle-core-notification Adding focus to non modal windows 2012-11-27 14:40:10 +08:00
David Monllao
729c115195 MDL-30899 moodle-core-notification Adding H1 to notifications headers 2012-11-27 14:40:10 +08:00
David Monllao
7b67e0c5eb MDL-30899 modchooser Changing from overlay to panel references 2012-11-27 14:40:09 +08:00
David Monllao
7cd301d191 MDL-30899 moodle-core-notification Replacing Y.Overlay for Y.Panel
References to lightbox are still there to maintain the same
external API but are converted to a modal attribute internally,
same with closeButton, now it uses the Y.Panel close button
2012-11-27 14:40:09 +08:00
Sam Hemelryk
4d9e8469e1 Merge branch 'MDL-35569-master' of git://git.luns.net.uk/moodle 2012-11-26 14:46:25 +13:00
Andrew Robert Nicols
7266bd3e59 MDL-35569 AJAX Move auto-submitting selects to separate YUI module 2012-11-21 08:23:01 +00:00
Dan Poltawski
dab8ed3b24 Merge branch 'MDL-36022-master' of git://git.luns.net.uk/moodle 2012-11-20 16:04:08 +08:00
Frederic Massart
bb128107e3 MDL-36449 usability: Normalising icons on course page 2012-11-14 11:38:06 +08:00
Andrew Robert Nicols
a3b6da6dfc MDL-36022 AJAX Remove shim on chooser dialogues 2012-11-06 13:48:01 +00:00
Andrew Robert Nicols
21b678dbca MDL-36023 AJAX Move the instantiation of the dialogue to display time 2012-11-01 07:54:58 +00:00
Sam Hemelryk
21d31a23a0 Merge branch 'MDL-35959-master' of git://git.luns.net.uk/moodle 2012-10-30 13:31:30 +13:00
Andrew Robert Nicols
a0bef1fb08 MDL-34354 Set default width for all chooser dialogues 2012-10-12 10:21:28 +01:00
Andrew Robert Nicols
e4a8f00c03 MDL-35959 Correct footer for M.core.dialogue 2012-10-10 11:01:52 +01:00
Dan Poltawski
e12a3e64ac Merge branch 'MDL-35767-master' of git://git.luns.net.uk/moodle 2012-10-04 16:57:40 +08:00
Ruslan Kabalin
2596265b36 MDL-35767 Fix missing target event group check
Prevent interfering between items from different groups (and no groups)
2012-10-03 14:34:54 +01:00
Andrew Robert Nicols
d6418e531d MDL-35673 Improve performance of formchangechecker event creation 2012-09-28 10:25:21 +01:00
Sam Hemelryk
d998c1a440 Merge branch 'MDL-31976-master' of git://github.com/FMCorz/moodle 2012-09-26 08:20:53 +12:00
Andrew Robert Nicols
2b42518aa7 MDL-34328 Correct usage of e.drop when catching missed drag/drop events 2012-09-25 09:27:31 +01:00
Paul Nicholls
1e78b3e66f MDL-34328: block dragdrop - disallow dragging from show/hide and dock icons
Tell the YUI drag/drop delegate that the show/hide and dock icons are not valid drag handles.  Otherwise, a drag can be initiated by showing or hiding a block (probably not from docking one, but better safe than sorry).  Not strictly related to MDL-34328, but likely to be encountered whilst testing - and closely related to another patch for MDL-34328.

Note that the "invalid" config option for the delegate takes a string - not an array - but can have multiple selectors separated by commas.
2012-09-25 09:27:31 +01:00
Paul Nicholls
6cc43fedbb MDL-34328: block dragdrop - performance rewrite
Use YUI's DragDrop delegates for block dragdrop - one per block region - rather than initialising a Drag object for each individual block.
2012-09-25 09:27:31 +01:00
Frederic Massart
aad982aa24 MDL-31976 Accessbility: Action icons on course page do not need title attributes 2012-09-21 11:31:19 +08:00
Petr Škoda
1c76d55a40 MDL-34714 switch to YUI 2in3 2012-08-11 20:40:01 +02:00
Petr Škoda
af7879701b MDL-34701 import latest YUI 3.6.0 2012-08-02 16:49:19 +02:00
Sam Hemelryk
7d5f2ac2e6 Merge branch 'MDL-29007-master-3' of git://git.luns.net.uk/moodle 2012-07-31 12:05:38 +12:00
Dan Poltawski
098eccf1b8 Merge branch 'MDL-34433-master-1' of git://git.luns.net.uk/moodle 2012-07-30 12:09:20 +08: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
10f2c0fb49 MDL-34433 Check for existence of e and e.target in set_form_changed
This is required for cases when code directly calls set_form_changed as
happens with the filepicker.
2012-07-24 14:28:14 +01:00
Andrew Robert Nicols
0a2fb91003 MDL-34352 Convert chooserdialogue IDs to classes 2012-07-23 15:35:42 +01:00
Sam Hemelryk
4d9f21a27e Merge branch 'MDL-33874-master-2' of git://git.luns.net.uk/moodle 2012-07-18 09:33:00 +12:00
Andrew Robert Nicols
35ee775882 MDL-33874 Don't warn about focussed form fields with the ignoredirty class 2012-07-16 08:08:05 +01:00