mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-02 02:51:53 +08:00
refactoring
This commit is contained in:
@@ -73,7 +73,7 @@ export function Atx(__recorder) {
|
||||
|
||||
var __clickButton = function(button, confirm_msg) {
|
||||
let click_button = function() {
|
||||
tools.httpPost(`/api/atx/click?button=${button}`, function(http) {
|
||||
tools.httpPost("/api/atx/click", {"button": button}, function(http) {
|
||||
if (http.status === 409) {
|
||||
wm.error("Performing another ATX operation for other client.<br>Please try again later");
|
||||
} else if (http.status !== 200) {
|
||||
|
||||
Reference in New Issue
Block a user