Commented out text node addition while moving resources. No idea why it was needed? This was adding extra vertical spaces and screwing up the display after a move in IE 7.

This commit is contained in:
vyshane
2007-01-24 05:58:14 +00:00
parent e521d0f799
commit 303c064224
+2 -2
View File
@@ -450,10 +450,10 @@ section_class.prototype.insert_resource = function(el, targetel) {
//update on frontend
if (targetel) {
this.resources_ul.insertBefore(el.getEl(), targetel.getEl());
this.resources_ul.insertBefore(document.createTextNode(' '), targetel.getEl());
//this.resources_ul.insertBefore(document.createTextNode(' '), targetel.getEl());
} else {
this.resources_ul.appendChild(el.getEl());
this.resources_ul.appendChild(document.createTextNode(' '));
//this.resources_ul.appendChild(document.createTextNode(' '));
}
el.parentObj = this;
}