Fix sub-grid column indent

This commit is contained in:
Nathan Gray
2014-09-09 23:14:42 +00:00
parent 29301590d6
commit 06a78f145f
2 changed files with 2 additions and 5 deletions

View File

@ -624,7 +624,7 @@ var et2_dataview_controller = Class.extend({
if(this.entry.idx == 0)
{
// Set the CSS for the level - required so columns line up
var indent = $j("<span class='indentation'/>").appendTo(tr);
var indent = $j("<span class='indentation'/>").appendTo('body');
egw.css(".subentry td div.innerContainer.level_"+d,
"margin-right:" + (parseInt(indent.css("margin-right")) * d) + "px"
);