mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-9306 Converting tabs to spaces. Merged from MOODLE_19_STABLE
This commit is contained in:
parent
9c3ea65295
commit
472a4b92c8
@ -239,8 +239,8 @@ section_class.prototype.move_to_section = function(target) {
|
||||
} else if (main.sections[i] == target) {
|
||||
//encounter with target node
|
||||
if (this.debug) {
|
||||
YAHOO.log("Found target "+main.sections[i].getEl().id);
|
||||
}
|
||||
YAHOO.log("Found target "+main.sections[i].getEl().id);
|
||||
}
|
||||
main.sections[i].swap_dates(main.sections[eval(loopmodifier)]);
|
||||
main.sections[i].swap_with_section(main.sections[eval(loopmodifier)]);
|
||||
found = false;
|
||||
@ -592,8 +592,8 @@ resource_class.prototype.init_buttons = function() {
|
||||
var moveRight = false;
|
||||
var updateButton = null;
|
||||
|
||||
// for RTL support
|
||||
var isrtl = (document.getElementsByTagName("html")[0].dir=="rtl");
|
||||
// for RTL support
|
||||
var isrtl = (document.getElementsByTagName("html")[0].dir=="rtl");
|
||||
|
||||
for (var x=0; x<buttons.length; x++) {
|
||||
if (buttons[x].className == 'editing_moveleft') {
|
||||
@ -711,10 +711,10 @@ resource_class.prototype.indent_left = function() {
|
||||
|
||||
resource_class.prototype.indent_right = function() {
|
||||
|
||||
// for RTL support
|
||||
var isrtl = (document.getElementsByTagName("html")[0].dir=="rtl");
|
||||
// for RTL support
|
||||
var isrtl = (document.getElementsByTagName("html")[0].dir=="rtl");
|
||||
|
||||
var spacer = YAHOO.util.Dom.getElementsByClassName('spacer',
|
||||
var spacer = YAHOO.util.Dom.getElementsByClassName('spacer',
|
||||
'img', this.getEl())[0];
|
||||
if (!spacer) {
|
||||
var spacer = document.createElement('img');
|
||||
|
Loading…
x
Reference in New Issue
Block a user