mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-04-18 20:31:09 +08:00
17 lines
344 B
CoffeeScript
17 lines
344 B
CoffeeScript
$ ->
|
|
id = $('.row.content').data 'id'
|
|
|
|
$('.action-reply').click ->
|
|
request '/ticket/reply/',
|
|
id: id
|
|
content: $('.input-content').val()
|
|
, ->
|
|
location.reload()
|
|
|
|
$('.action-update-status').click ->
|
|
request '/ticket/update_status/',
|
|
id: id
|
|
status: $(@).data 'status'
|
|
, ->
|
|
location.reload()
|