Default colspan for notebook is 4

This commit is contained in:
Cédric Krier
2013-10-16 02:34:35 +02:00
parent 88ace4c73f
commit b052ea4d18
+3
View File
@@ -833,6 +833,9 @@
// TODO help
},
_parse_notebook: function(model, node, container, attributes) {
if (attributes.colspan === undefined) {
attributes.colspan = 4;
}
var notebook = new Sao.View.Form.Notebook(attributes);
this.state_widgets.push(notebook);
container.add(attributes, notebook);