[FIX] attributes handling on HTML nodes
bzr revid: xmo@openerp.com-20111221103750-wemo7rszah8vvvxa
This commit is contained in:
parent
7af1a8662c
commit
c49498e0a4
|
@ -3070,7 +3070,8 @@ openerp.web.form.WidgetHtml = openerp.web.form.Widget.extend({
|
|||
[child.attrs.widget, type.type, child.tag])) (self.view, child);
|
||||
$into.append(widget.render());
|
||||
} else {
|
||||
var $child = $(document.createElement(child.tag), child.attrs)
|
||||
var $child = $(document.createElement(child.tag))
|
||||
.attr(child.attrs)
|
||||
.appendTo($into);
|
||||
self.render_children(child, $child);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue