mirror of https://github.com/gophish/gophish
added support for document tracker
parent
aae4aca236
commit
2129d49a12
|
@ -78,7 +78,7 @@ $(document).ready(function() {
|
||||||
]).draw()
|
]).draw()
|
||||||
// Add it to the chart data
|
// Add it to the chart data
|
||||||
campaign.y = 0
|
campaign.y = 0
|
||||||
campaign.y += campaign.stats.clicked + campaign.stats.submitted_data
|
campaign.y += campaign.stats.clicked + campaign.stats.enabled_content + campaign.stats.submitted_data
|
||||||
campaign.y = Math.floor((campaign.y / campaign.stats.total) * 100)
|
campaign.y = Math.floor((campaign.y / campaign.stats.total) * 100)
|
||||||
average += campaign.y
|
average += campaign.y
|
||||||
// Add the data to the overview chart
|
// Add the data to the overview chart
|
||||||
|
|
Loading…
Reference in New Issue