aboutsummaryrefslogtreecommitdiffstats
path: root/lib/srtgui/templates/investigation.html
diff options
context:
space:
mode:
Diffstat (limited to 'lib/srtgui/templates/investigation.html')
-rw-r--r--lib/srtgui/templates/investigation.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/srtgui/templates/investigation.html b/lib/srtgui/templates/investigation.html
index f934d052..c2bf92d7 100644
--- a/lib/srtgui/templates/investigation.html
+++ b/lib/srtgui/templates/investigation.html
@@ -477,6 +477,9 @@ Created={{object.srt_created}} Updated={{object.srt_updated}}
alert("error on request:\n" + data.error);
return;
}
+ if (data.note.startsWith("DEFECT-")) {
+ alert("ERROR:Defect creation failed, temporary defect '" + data.note + "' created. See Error Log.");
+ }
// reload the page with the updated tables
location.reload(true);
}
@@ -745,6 +748,7 @@ Created={{object.srt_created}} Updated={{object.srt_updated}}
var priority=$('#select-priority-state').val();
var status=$('#select-status-state').val();
var outcome=$('#select-outcome-state').val();
+ var affected_components=$('#text-affected-components').val();
postCommitAjaxRequest({
"action" : 'submit-quickedit',
"priority" : priority,
@@ -753,6 +757,7 @@ Created={{object.srt_created}} Updated={{object.srt_updated}}
"private_note" : private_note,
"tags" : tags,
"outcome" : outcome,
+ "affected_components" : affected_components,
});
});