Commit 65f277d5 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

export.js: The model may not contain m['logs'], prevent any error

For instance in offline mode (with old files?). Make sure
the code will still work
parent 6c207650
......@@ -591,6 +591,9 @@ Report.prototype = {
sampleLog: function() {
if (typeof this.m['logs'] == 'undefined')
return this
var log = this.container("Report Log")
var table = $('<table/>', {'class': 'log-table flex'}).appendTo(log);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment