mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-05-12 16:12:54 +08:00
fixbugs
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user