gophish/static/js/app/campaigns.js

13 lines
269 B
JavaScript
Raw Normal View History

2015-06-16 03:51:18 +00:00
$(document).ready(function(){
campaigns.get()
.success(function(data){
successFlash("worked!")
console.log(data)
})
.error(function(data){
errorFlash("No work")
console.log(data)
})
$("#table_id").DataTable();
})