Retrospring/app/assets/javascripts/answerbox/report.coffee

6 lines
177 B
CoffeeScript
Raw Normal View History

2014-12-28 10:56:37 -08:00
$(document).on "click", "a[data-action=ab-report]", (ev) ->
ev.preventDefault()
2015-01-03 10:49:47 -08:00
btn = $(this)
aid = btn[0].dataset.aId
2015-04-21 19:59:10 -07:00
reportDialog "answer", aid, -> btn.button "reset"