Commit 7942c893 authored by Mathieu Giraud's avatar Mathieu Giraud

js/export.js: free (unsaved) comments at the end of each report

Closes #3938
parent 6a2a14bc
Pipeline #95538 failed with stages
in 7 minutes and 2 seconds
......@@ -160,6 +160,7 @@ Report.prototype = {
self.info()
.contamination()
.comments()
self.m.resize()
self.m.resume()
......@@ -200,6 +201,7 @@ Report.prototype = {
.cloneList()
.contamination()
.sampleLog()
.comments()
.restorestate()
self.m.resize()
......@@ -244,6 +246,7 @@ Report.prototype = {
self.sampleLog()
.softwareInfo(self.m.t)
.comments()
.restorestate()
self.m.changeGermline(current_system)
......@@ -330,6 +333,13 @@ Report.prototype = {
return this
},
comments: function() {
var comments = this.container("Comments")
$('<textarea/>', {'title': "These comments won't be saved.", 'rows': 5, 'style': "width: 100%; display: block;"}).appendTo(comments)
return this
},
info : function() {
var info = this.container("Report information")
......
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