[FIX] fixes a rendering bug which happened when the rowspan (or colspan) attributes were set to 0. Now, it is always set to a value >= 1 (addon web_graph)
bzr revid: ged@openerp.com-20131227152055-77fvsc27mzs0x5t9
This commit is contained in:
parent
fb63eb63ed
commit
e69f4d1af6
|
@ -399,8 +399,8 @@ instance.web_graph.Graph = instance.web.Widget.extend({
|
|||
|
||||
make_border_cell: function (colspan, rowspan) {
|
||||
return $('<td></td>').addClass('graph_border')
|
||||
.attr('colspan', colspan)
|
||||
.attr('rowspan', rowspan);
|
||||
.attr('colspan', (colspan) ? colspan : 1)
|
||||
.attr('rowspan', (rowspan) ? rowspan : 1);
|
||||
},
|
||||
|
||||
make_header_title: function (header) {
|
||||
|
|
Loading…
Reference in New Issue