Browse Source

[IMP] use HTML version of <br/>

pull/2/head
Holger Brunn 12 years ago
parent
commit
522bb2c1ee
  1. 2
      web_treeview_text_newlines/static/src/js/web_treeview_text_newlines.js

2
web_treeview_text_newlines/static/src/js/web_treeview_text_newlines.js

@ -28,7 +28,7 @@ openerp.web_treeview_text_newlines = function(openerp)
result = format_cell_original(row_data, column, options); result = format_cell_original(row_data, column, options);
if(column.type == 'text') if(column.type == 'text')
{ {
result = result.replace(/\n/g, '<br/>');
result = result.replace(/\n/g, '<br>');
} }
return result; return result;
} }

Loading…
Cancel
Save