Append form container after parsing child
issue9662 review306531003
This commit is contained in:
1 parent
d0c34289ec
commit
0c3c4a762d
1 file changed
+2
-1
+2
-1
@@ -31,11 +31,12 @@ function eval_pyson(value){
|
||||
var container = new Sao.View.Form.Container(
|
||||
Number(node.getAttribute('col') || 4));
|
||||
this.view.containers.push(container);
|
||||
this.view.el.append(container.el);
|
||||
this.parse_child(node, container);
|
||||
if (this._containers.length > 0) {
|
||||
throw 'AssertionError';
|
||||
}
|
||||
// Append after parsing child to minimize browser reflow
|
||||
this.view.el.append(container.el);
|
||||
},
|
||||
parse_child: function(node, container) {
|
||||
if (container) {
|
||||
|
||||
Reference in new issue
Block a user