292 Commits

Author SHA1 Message Date
sam marshall
f3474e2216 MDL-53548 Accessibility: Block show/hide keyboard access broken 2016-03-18 13:44:50 +00:00
David Monllao
814809d59e Merge branch 'wip-MDL-52008-master' of git://github.com/abgreeve/moodle 2015-11-09 13:16:06 +08:00
Adrian Greeve
9e8d0842ba MDL-52008 accessibility: Skip link works with chrome vox. 2015-11-06 09:47:51 +08:00
Petr Skoda
c73f6d03e5 MDL-48085 flowplayer: prevent flash parameters via url 2015-11-04 10:31:12 +00:00
jinhofer
0b7856efbe MDL-49811 lib: Added js to skiplinks
I have added a JS module to handle skiplinks to send
the focus to the end of the block. This improves the function
and allows the user to better tab through the page.
2015-10-05 06:17:58 -05:00
Andrew Nicols
57884502bc MDL-51222 Javascript: Reapply YUI config after adding modules 2015-09-23 10:49:59 +08:00
Paul Nicholls
0bad799dc4 MDL-51190 javascript: Make "maximised embed" compatible with MS Edge
MS Edge exhibits strange behaviour when M.util.init_maximised_embed hides
the embedded document by setting its width and height to 0px.  Toggling
display:none instead achieves the intended goal without breaking Edge.
2015-09-15 16:34:55 +12:00
Andrew Nicols
ead8b28f92 MDL-49144 blocks: Sanitise alt and title for block controls 2015-03-02 12:09:45 +00:00
Andrew Nicols
7d0d3b369d MDL-43242 ajax: Final deprecation of core JS functions 2015-01-08 08:28:37 +08:00
Gareth J Barnard
ffe618dcd3 MDL-36499 javascript: Expand height of the file element in embedded view. 2014-12-05 15:48:16 +00:00
Petr Skoda
70a63f0eef MDL-46480 fix get_htmlelement_size() to deal with hidden or non-block elements 2014-08-08 10:28:11 +12:00
Andrew Nicols
72704adf03 MDL-44486 core: Rewrite JavaScript progressbar 2014-05-12 15:29:47 +08:00
Damyon Wiese
23d142ef5a Merge branch 'MDL-44361-master' of git://github.com/andrewnicols/moodle 2014-03-05 11:36:16 +08:00
Andrew Nicols
051548b897 MDL-44361 Javascript: Fix js_pending injector Y.io
The previous (slightly whacky) way that we were doing this in previous
versions is no longer supported (and was arguably only supported by being
buggy).

The correct way of doing this is to use a trigger.
2014-02-27 01:16:09 +08:00
Petr Skoda
d65634044e MDL-43344 upgrade to latest Flowplayer 2014-02-07 13:12:43 +08:00
Andrew Nicols
ab20c84aff MDL-42428 Javascript: Switch M.util.show_confirm_dialog to use moodle-core-notification 2014-02-04 09:33:45 +08:00
Andrew Nicols
1d98ca14eb MDL-43538 Javascript: Deprecate callback argument to confirm_action
As a precursor to deprecating M.util.show_confirm, this deprecates the
callback argment to the confirm_action class.

This is not currently used anywhere in core, and it's use leads to use of
eval in Javascript.
2014-01-28 13:18:43 +08:00
Andrew Nicols
06acdf04f6 MDL-43664 Javascript: Use YUI indexOf for pending_js tracking
Some old browsers do not support indexOf and so cannot determine whether JS
script is in progress. The YUI Y.Array module polyfills the indexOf
functionality when it does not exist.
2014-01-14 10:39:06 +08:00
Sam Hemelryk
946e770ede Merge branch 'MDL-43243-master' of git://github.com/andrewnicols/moodle 2013-12-24 11:56:01 +13:00
Sam Hemelryk
2415e85716 Merge branch 'MDL-43241-master' of git://github.com/andrewnicols/moodle 2013-12-18 16:26:35 +13:00
Andrew Nicols
a4582a51a4 MDL-43241 JavaScript: Deprecate findChildNodes 2013-12-18 10:53:52 +08:00
Sam Hemelryk
21ad9a7921 Merge branch 'MDL-43240-master' of git://github.com/andrewnicols/moodle 2013-12-16 16:03:09 +13:00
Andrew Nicols
aff365cc10 MDL-43243 JavaScript: Deprecate destroy_item 2013-12-10 09:55:34 +08:00
Andrew Nicols
0d8907e3d8 MDL-43243 JavaScript: Deprecate show_item 2013-12-10 09:55:34 +08:00
Andrew Nicols
f260850efc MDL-43243 JavaScript: Deprecate addonload 2013-12-10 09:55:33 +08:00
Andrew Nicols
bc549847d9 MDL-43243 JavaScript: Deprecate getElementsByClassName 2013-12-10 09:55:33 +08:00
Andrew Nicols
e1b4553d8c MDL-43243 JavaScript: Deprecate hide_item 2013-12-10 09:55:33 +08:00
Andrew Nicols
0a59cd5917 MDL-43240 JavaScript: Remove deprecated functions for 2.7
This patch removes functions which were deprecated in Moodle 2.4:
* M.util.init_select_autosubmit
* M.util.init_url_select
* M.util.help_icon
2013-12-06 16:26:14 +08:00
Damyon Wiese
6e2c417c1f MDL-41030 Behat: Add support for waiting for javascript
This is so that phantomjs (which runs faster than selenium) can pass the tests.
2013-12-06 12:13:39 +08:00
Andrew Nicols
ee4ece6822 MDL-29441 Chat: Use a valid name for chat popup actions 2013-10-12 00:53:48 +08:00
Damyon Wiese
0231f91d86 Merge branch 'w13_MDL-38673_m25_flowplayer' of git://github.com/skodak/moodle 2013-03-26 16:11:47 +08:00
Rossiani Wijaya
3bd18935d7 MDL-30438 Lesson Module: fixed input text editable capability after checking/unchecking unmask option 2013-03-25 11:47:05 +08:00
Petr Škoda
83cca3da87 MDL-38673 import flash based FlowPlayer 3.2.16 2013-03-24 18:35:09 +01:00
Frederic Massart
8158fe0542 MDL-36900 repository: File Manager new folder UI improvements 2013-03-08 10:21:01 +08:00
Andrew Robert Nicols
238b8bc9b6 MDL-35819 AJAX Rewrite Moodle popup help to be more friendly and more efficient 2013-02-10 11:50:56 +00:00
Jason Fowler
083c15e640 MDL-35823 - Accessibility - Readding Focus to header in the help popup 2013-02-06 14:17:29 +08:00
sam marshall
62019ad86e MDL-37668 Accessibility: Help popup should be easy to close using keyboard 2013-01-28 10:56:26 +00:00
Rossiani Wijaya
a170cdf4a4 MDL-35817 login: convert html tag to use html_writer and change <a> tag id to be more specific to login 2013-01-17 13:01:27 +08:00
Rossiani Wijaya
c316c3944e MDL-35817 Login: set page focus to error message for login error 2013-01-15 15:45:15 +08:00
Sam Hemelryk
9d8abffc87 Merge branch 'MDL-35954_master' of git://github.com/markn86/moodle 2012-12-10 14:08:06 +13:00
Andrew Robert Nicols
c44a8dfed5 MDL-36752 Be more specific about tooltip selectors 2012-11-27 14:45:47 +00:00
Dan Poltawski
e0c9b42ff7 Merge branch 'MDL-36752-master' of git://git.luns.net.uk/moodle 2012-11-27 13:32:34 +08:00
Dan Poltawski
ae8530e854 MDL-35717|NOBUG - fix trailing whitespace problems 2012-11-26 15:01:31 +08:00
Sam Hemelryk
8a423efda9 Merge branch 'MDL-36609_master' of git://github.com/markn86/moodle 2012-11-26 14:58:13 +13: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
98b50e989e MDL-35819 Improve performance of help tooltip
Rather than using an event handler for each help link, we add the
'helpicon' class to them and delegate the display function.

In order for this to work, we modify the way that Y.io fetches the help to
use the intended target of the anchor rather than a value provided in the
add call. We also no longer modify this URL and instead add the ajaxurl
parameter to it using the Y.io data parameter.

This change is backwards compatible with people calling it without using
the help icon renderer.
2012-11-22 11:43:55 +00:00
Mark Nelson
c2aad61661 MDL-35954 javascript: prevent JS from being triggered on select box by clicking on already selected option 2012-11-21 16:54:58 +08:00
Andrew Robert Nicols
7266bd3e59 MDL-35569 AJAX Move auto-submitting selects to separate YUI module 2012-11-21 08:23:01 +00:00
Frederic Massart
59fa7fd006 MDL-36613 usability: Dock icons are correct in RTL mode 2012-11-20 13:00:01 +08:00
Mark Nelson
62d210515c MDL-36609 javascript: ensure HTML element exists before attempting to perform JS functionality 2012-11-19 15:43:46 +08:00