This commit is contained in:
jysperm
2014-11-17 23:17:43 +08:00
parent 97989a32e1
commit f9cb920d61
10 changed files with 29 additions and 23 deletions

View File

@@ -3,11 +3,11 @@ $ ->
if window.confirm 'Are you sure?'
request '/plugin/ssh/kill',
pid: $(@).parents('tr').data 'id'
, ->
location.reload()
, =>
$(@).parents('tr').remove()
$('.widget-ssh .action-update-password').click ->
request '/plugin/ssh/update_password',
password: $('.widget-ssh .input-password').val()
, ->
location.reload()
alert 'Success'