mirror of https://github.com/gophish/gophish
Added result ID to campaign results view. Fixes #1239
parent
326649b177
commit
468da007d5
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -357,8 +357,8 @@ var renderDevice = function (event_details) {
|
|||
}
|
||||
|
||||
function renderTimeline(data) {
|
||||
console.log(data)
|
||||
record = {
|
||||
"id": data[0],
|
||||
"first_name": data[2],
|
||||
"last_name": data[3],
|
||||
"email": data[4],
|
||||
|
@ -369,7 +369,8 @@ function renderTimeline(data) {
|
|||
}
|
||||
results = '<div class="timeline col-sm-12 well well-lg">' +
|
||||
'<h6>Timeline for ' + escapeHtml(record.first_name) + ' ' + escapeHtml(record.last_name) +
|
||||
'</h6><span class="subtitle">Email: ' + escapeHtml(record.email) + '</span>' +
|
||||
'</h6><span class="subtitle">Email: ' + escapeHtml(record.email) +
|
||||
'<br>Result ID: ' + escapeHtml(record.id) + '</span>' +
|
||||
'<div class="timeline-graph col-sm-6">'
|
||||
$.each(campaign.timeline, function (i, event) {
|
||||
if (!event.email || event.email == record.email) {
|
||||
|
|
|
@ -92,7 +92,6 @@ function importSite() {
|
|||
include_resources: false
|
||||
})
|
||||
.success(function (data) {
|
||||
console.log($("#html_editor"))
|
||||
$("#html_editor").val(data.html)
|
||||
CKEDITOR.instances["html_editor"].setMode('wysiwyg')
|
||||
$("#importSiteModal").modal("hide")
|
||||
|
|
Loading…
Reference in New Issue