mirror of https://github.com/gophish/gophish
Moved "Add Tracking Image" changes to the copy() function
parent
78f378fc28
commit
76962749b1
|
@ -221,6 +221,11 @@ function copy(idx) {
|
||||||
.remove()
|
.remove()
|
||||||
.draw();
|
.draw();
|
||||||
})
|
})
|
||||||
|
if (template.html.indexOf("{{.Tracker}}</body>") != -1) {
|
||||||
|
$("#use_tracker_checkbox").prop("checked", true)
|
||||||
|
} else {
|
||||||
|
$("#use_tracker_checkbox").prop("checked", false)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function importEmail() {
|
function importEmail() {
|
||||||
|
|
Loading…
Reference in New Issue