MDL-9306 Converting tabs to spaces. Merged from MOODLE_19_STABLE

This commit is contained in:
nicolasconnault 2009-04-23 07:22:27 +00:00
parent 9c3ea65295
commit 472a4b92c8

View File

@ -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');