MDL-45226 AJAX: Backport upstream bug fixes from YUI

This backports the following two patches:
* https://github.com/yui/yui3/issues/1757
* https://github.com/yui/yui3/issues/1778
This commit is contained in:
Andrew Nicols 2014-04-22 23:25:26 +08:00
parent d55806ce05
commit 7c5ea4935a
7 changed files with 14 additions and 8 deletions

View file

@ -359,8 +359,10 @@ $CFG->yui3version = '3.15.0';
// If we need to patch a YUI modules between official YUI releases, the yuipatchlevel will need to be manually
// incremented here. The module will also need to be listed in the yuipatchedmodules.
// When upgrading to a subsequent version of YUI, these should be reset back to 0 and an empty array.
$CFG->yuipatchlevel = 0;
$CFG->yuipatchlevel = 1;
$CFG->yuipatchedmodules = array(
'dd-drag',
'dd-gestures',
);
// Store settings from config.php in array in $CFG - we can use it later to detect problems and overrides.