MDL-9306 Converting tabs to spaces

This commit is contained in:
nicolasconnault
2009-04-23 06:50:48 +00:00
parent 48e8f83bc2
commit 3c01f1883c
+7 -7
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');