[IMP] positioning of edition fields within a scrolled dialog

they still don't work every time, but should be slightly more reliable

bzr revid: xmo@openerp.com-20121031140718-j3e4r9djyq34rqu7
This commit is contained in:
Xavier Morel 2012-10-31 15:07:18 +01:00
parent b6af4f22cb
commit 62f4d999f4
1 changed files with 4 additions and 3 deletions

View File

@ -252,9 +252,10 @@ openerp.web.list_editable = function (instance) {
var position = $cell.position();
field.set_dimensions($cell.outerHeight(), $cell.outerWidth());
field.$el.css({
top: position.top,
left: position.left,
field.$el.position({
my: 'left top',
at: 'left top',
of: $cell
});
},
/**