Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

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

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