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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user