mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-05-18 17:52:31 +08:00
fix bug
This commit is contained in:
@@ -29,7 +29,7 @@ $ ->
|
||||
$.post '/plugin/phpfpm/switch/', JSON.stringify {enable: enable}
|
||||
.success ->
|
||||
location.reload()
|
||||
nginx
|
||||
#nginx
|
||||
$ '.nginx-edit-btn'
|
||||
.on 'click', (e) ->
|
||||
e.preventDefault()
|
||||
@@ -38,8 +38,8 @@ $ ->
|
||||
id: id
|
||||
}
|
||||
.success (data) ->
|
||||
|
||||
($ '#nginxModal').modal 'show'
|
||||
$('#json').find('textarea').val JSON.stringify(data)
|
||||
($ '#nginxModal').modal 'show'
|
||||
|
||||
|
||||
$ '.nginx-remove-btn'
|
||||
|
||||
Reference in New Issue
Block a user