[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:
parent
b6af4f22cb
commit
62f4d999f4
|
@ -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
|
||||
});
|
||||
},
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue