Merge branch 'MDL-37664-23-int' of git://github.com/FMCorz/moodle into MOODLE_23_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2013-03-21 10:56:31 +01:00
+1 -1
View File
@@ -102,7 +102,7 @@ YUI.add('moodle-core-blocks', function(Y) {
var region = node.ancestor('div.'+CSS.BLOCKREGION).get('id').replace(/region-/i, '');
if (Y.Array.indexOf(this.get('regions'), region) === -1) {
// Must be standard side-X
if (right_to_left()) {
if (Y.one('body').hasClass('dir-rtl')) {
if (region == 'post') {
region = 'pre';
} else if (region == 'pre') {