From b052ea4d189c5b334e0799c93cc7f89e339362cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 16 Oct 2013 02:34:35 +0200 Subject: [PATCH] Default colspan for notebook is 4 --- src/view.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/view.js b/src/view.js index 6a54387dfb..d7a86732d2 100644 --- a/src/view.js +++ b/src/view.js @@ -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);